Problem with the default value for OAMessageTextInputBean to the controller layout

Hello

I encountered this problem when I expand a controller for the page create a work request (/ oracle/apps/eam/workrequest/webui/EAM_WR_WORK_REQUEST_DETAIL_PL). My goal is to re - fill OAMessageTextInputBean 'Additional Description' after the user clicks "Save" or "apply". When I try to change the value of another field, it works correctly, the problem persists for 'Description Addidional' more precisely. I don't know that I have the correct id (I took it from xml received by jdr_utils.printdocument). The journal does not all controllers running after the attempt to set the value.

Compare these logs:

[21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
[21]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:null ,Attribute:EAM_WR_WORK_REQUEST_DETAIL_PL426_EamWrRqlog , Return Value without datatype conversion :4321
[21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!

[Descriptive information, does not work]

and:

[64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
[64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:RequestDetailsVO ,Attribute:PhoneNumber , Return Value without datatype conversion :null
[64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Set Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: OldValue:null ,New Value:4312
[64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!

[Phone number, works fine]

Here is my code for the method of the processFormRequest controller:

public void processFormRequest(OAPageContext pgCtx, OAWebBean wBean){
     super.processFormRequest(pgCtx, wBean);
    
     String description = pgCtx.getParameter("EamWrRqlog");
     log("Goosfraba: " + description, pgCtx);

     if(description != null){
          OAMessageTextInputBean additionalDescription = (OAMessageTextInputBean) wBean.findChildRecursive("EamWrRqlog");
          if(additionalDescription != null){
               log("Goosfraba, pre-added!", pgCtx);
               additionalDescription.setValue(pgCtx, description);
               log("Goosfraba, added!", pgCtx);
          }
     }
}

A solution would be: -.

1. create a transitional VO with an attribute, LongDescription.

2 associate this attribute with the EamWrRqlog field.

3. in the processFormRequest, set the TransientVO attribute value

Tags: Oracle Applications

Similar Questions

  • Several panels reducible Spry with different default values for open - close

    Hello

    The site I'm trying have a page with (5) folding panels Spry. (4) are by default open, (1) is set by default closed.

    I'm trying to get (3) open and (2) closed. However, defining a second flaw of closed panels give a syntax error.

    Someone knows how to operate, if possible at all?

    Screen shot 2013-11-11 at 11.53.40 AM.pngScreen shot 2013-11-11 at 11.53.06 AM.png

    Remove the parenthesis after "CollapsiblePanel5". It should be like this:

    var CollapsiblePanel5 = new Spry.Widget.CollapsiblePanel ("CollapsiblePanel5", {contentIsOpen: false});

  • Satellite U500-17F: problems with the new HARD drive

    Hi everyone, I got some troubleshooting with my Satellite and a new drive, I bought recently, because that is already damaged because of too many bad sectors. One is a Western Digital Scorpio Black 320 Bg (WD3200BEKT model number). It should be a fast reader but is not with my Satellite.

    After having mounted the drive in the laptop, I ran a new installation (with full disk format} Windows 7 (64 bit) with all the necessary drivers (that I downloaded directly from the Page of Support Toshiba.)

    The problem is that the laptop needs a lot of time to start and also to disable, and whenever I try to run an application or start a program (for example Firefox, or just a few windows applications), the laptop freezes for about 30 to 60 seconds, the drive no longer works (you can hear leaders put in position 'parking' and the HDD LED control is constant) ", no lights flashing).

    It seems that the drive (during this 30-60 seconds) in something as a stand-by mode. I ran a few Western Digital diagnostic tools and the car looks all right to 100%. It works also without any problems in the other laptop (HP Pavilion DV6500). Could this be a problem with the controller (Intel ICH9M - E ATA AHCI controller) driver?

    Any suggestion?
    Thanx

    Hello

    You use the latest version of the BIOS?
    Please check if you need a BIOS update. Of course I read in a few discussions on the similar question of Win XP you use Win 7 but its value to check the update of the BIOS and U500 series.

    In addition, I recommend check you the power of Windows 7 options.
    Disable in the power profile that you use power saving HDD.

    Just a question:
    You use the option AHCI in the BIOS?
    As far as I know it of possible to use either a compatible SATA AHCI mode.
    AHCI must be used because this option would use full SATA performance.

  • Issues with the controller of Siri

    I got the last Apple TV since Christmas, and lately, it seems that I might have a problem with the controller of Siri. When you place your finger to use the contact surface, for that one click-much like the glass mini is not defined in law if that makes sense.

    Does not really affect the operation but is off-putting. If you want to just to click and press down, basically click twice on it records only one. He did not have it to begin with and has not been abandoned or anything - is always in perfect condition. Don't know if anyone has similar problems or if I have an error with mine?

    Sounds like it is damaged or defective for me

  • The default value for a property with data of type boolean

    Hi all

    Is it a system preference setting, where the default value for a property with data of type boolean can be a Virgin? I want to keep the value by default in a vacuum, but every time I save the property even after empty selection, the default value changes to FALSE.

    Capture.JPG

    In this case Boolean doesn't help you, you mayneed to create a chain of ownership and have true/false / "" as your list of values

  • Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Printing which forms an angle seems ok, but one that is horizontally seems faded, incomplete.

    I was wondering if I saved a layer somewhere and set it as a default value.

    If you group the layers, you will be left with a single layer, thus spreading your concern.

    Suggest that you do the following:

    1. Make sure you have the latest drivers for your printers
    2. Reset the default preferences.

    Hold the Alt, Ctrl + Shift keys when you click the icon to open the items. When asked if you want to delete the settings file, say Yes.

    Items nearby and let regenerate the file.

  • Type a table defined clusters to hold configuration data - definition of default values for each element of the array

    Hello

    I was wondering if I could get some information and opinions on the use of an array of type defined clusters to store configuration data.  I am creating a program to test several EHR and wanted to have a control of type defined for each HAD with the information needed to create the DAQmx tasks for all signals for it must HAVE.  I am eager to do so that the data are encoded in hard and not in a file that the user might spoil.

    Controls of type def are then put into a Subvi who chooses as appropriate, one based on the enumeration of Type DUT connected to a case structure.

    I have problems with the control of the defined type.  I see issues when you try to save a configuration unique to each element of the array in the array of clusters.  Somehow, it worked at first, but now by clicking on "Operations on the data--> default font of the current value ' on individual elements of the cluster or the entire cluster (array element) does not save data when I re - open the command def.  What I am doing wrong?  I'm trying to do something with the berries of the clusters that I shouldn't do?

    I enclose one of the defined reference type controls.  I tried to change it bare to see if that helped, but no luck.

    To reproduce, change the resource string for the element 0 of the array and do the new value by default.  Then close the def of type, and then reopen it.  The old value is always present in this element.  The VI is saved in LabVIEW 2012.

    The values of a typedef are not proprigated to the instances of the control. They get if created WHEN data values have changed. They will be not updated with the changes to come. You must create a VI specifically to hardcode your values or to implement a file based initialization. The base file would be much better and more flexible. If you don't want users to change the data simply encryption. There is a wedding blowfish library that you can download.

  • Problem with the change in value of listbox event

    Hello

    I have a problem with the help of Listbox value change event. The code that I have attached is a simplified version of the largest program, but the problem is the same. One of the loops of Nonna is responsible for handlig occurring events ant the other is responsible for the execution of the program. In the project of oryginal I use a listbox control to determine which plots graphic display of a waveform is visible (first position of the listbox-> only plot first visible etc.). In the attached vi, I just show the current value of the listbox control. The problem is the event runs only once and then the program crashes. I want to be able to change the value of the listbox work both at idle and in State of a program, but when I put the structure of the event in both States, he does not. I'd be very grateful if someone smarter than me could tell me where I made my mistake. I want my program to be able to manage the keys and listbox events in States (slow down and knit) program.

    You have two structures of event in two cases different from the structure of the case, and both are tuned to listbox events has changed. Because only once can be triggered at any time, the VI crashes (lock events the front panel (default) until the event can complement).

    You must use a unique event structure managing all events.

    The overall program architecture looks like inside-out for me.

    For the buttosn, you must use action lock (switch not release!) and use the value changed events.

  • default value for the date in a table field

    Hello
    I have a problem with the tabular form of Apex version 4.0.2.00.07.
    The page is divided into two parts: first a form with several field, completed by the procedure integrated apex, then a tabular presentation.
    The entire field of form displayed in mode 'View' only, one of them is P340_INIZIO_CONTRATTO, defined as a date in the database.

    In the form of tables, there is an attribute displayed as "Date Picker" and I want to give it the value of P340_INIZIO_CONTRATTO by default.

    If I simply put the name of the item in the field default value of this column, I get this error:

    "Error report:
    "ORA-01790: expression must have the same type of data, matching expression.

    Do you have any suggestions for me? I couldn't find a solution in the forum.

    I hope I gave you all the necessary information, this is my first thread ever

    Thank you.

    Try to change the value by default to:

    to_date(:P340_INIZIO_CONTRATTO)

  • How to set the default value for the digital control on front panel?

    How to set a default value for a numeric control of LabVIEW 2009 Front Panel? I have several input values that are actually configuration settings I want to settle with the default values of zero. I want them to be the values displayed when the façade first appears until the code is executed.

    I really want to use the Minimum and Maximum limits by default for this because I still want to be able to define acceptable limits for values.

    I would not be able to specify a default value of zero for these entries?

    Enter the desired value, then "right click...... of default data of value to operations. Save the VI.

  • I have a problem with the simulation in Matlab 6.5 and LabVIEW for PID controllers

    I have a problem with the simulation in Matlab 6.5 and LabVIEW. I have a few methods for granting regulators PID in MATLAB to go but not of LabVIEW. Degree of international teams of two transfer but when I passed to the fourth degree is no longer working. We have changed the formula to calculate the parameters for the fourth year and gave me some good values for assignment of Matlab, but when I put on LabVIEW are not resolved. the formulas are available in PDF format and are. Please help me and me someone if possible. Thank you
    Lim.4 generation in comparison methods and the MATLAB program settings are for the service of transfer to the second degree.

    Hello Lascarica,

    I noticed that you are using the screw of PID. Gains on these screws are based on TIME instead of GAIN. You should be able to build a PID regulator and vary the gains and then compare the results.

  • Want to change the WordPad default values for font size and line spacing

    I use WordPad quite heavily because it is simple and fast.  But the new version of W - 7 seems to not allow you to change the default values for the font, size and line spacing.  The default values are not suitable for a large part of what I do and I'd like to find a way of quickly and easily, either make the changes permanent or change this to open with a single click of mouse or at most two.  Any suggestions?

    It is the "best" solution to workaround.  After you change your Default.rtf custom, simply move it to your system32 directory and add the "Default.rtf" at the end of the location of your target on the property sheet for your file WordPad.exe.

    Every time that you open its default location in the directory c:\program files\windows NT\Accessoires WordPad.exe, it defaults to now your Default.rtf custom.

  • There is a problem with the driver for TSSTcorp DVD +-RW Drive SN - 208BB. The driver must be reinstalled.

    Hello
    With the help of the window - 8 installed on newly purchased Dell Inspiron notebook
    For a few days, I wasn't able to use my CD DVD drive because there is a driver problem, here's the trouble shoot report
    could someone help me how this issue be resolved
    TSSTcorp DVD +-RW Drive SN - 208BB has a driver problem fixed is not fixed
     
    There is a problem with the driver for TSSTcorp DVD +-RW Drive SN - 208BB. The driver must be reinstalled.
    Information InformationalDevice
    Name: TSSTcorp DVD +-RW Drive SN-208BB
    ID: SCSI\CDROM & VEN_TSSTCORP & PROD_DVD +-RW_SN-208BB\4 & BB94CF & 0 & 040000
    Error code: 19
     
    Reinstall the complete device driver
     
    There is a problem with the driver for TSSTcorp DVD +-RW Drive SN - 208BB. Reinstall the driver may resolve this issue.
     

    You can check the following registry key? :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    To the registry for this key, in the right window, in the world is here, under 'Name', a LowerFilters and UpperFilters value?

    If so, for UpperFilters and LowerFilters, value which is listed under "data"?

  • Mr President, how can I enter two rows at the same time with different default values that only the first line to use see?

    Mr President.

    My worm jdev is 12.2.1

    How to enter two rows at the same time with different default values that only the first line to use see?

    Suppose I have a table with four fields as below

    "DEBIT" VARCHAR2(7) , 
      "DRNAME" VARCHAR2(50),
      "CREDIT" VARCHAR2(7) , 
      "CRNAME" VARCHAR2(50),
    

    Now I want that when I click on a button (create an insert) to create the first line with the default values below

    firstrow.png

    So if I click on the button and then validate the second row with different values is also inserted on commit.

    The value of the second row are like the picture below

    tworows.png

    But the second row should be invisible. It could be achieved by adding vc in the vo.

    The difficult part in my question is therefore, to add the second row with the new default values.

    Because I already added default values in the first row.

    Now how to add second time default values.

    Concerning

    Mr President

    I change the code given by expensive Sameh Nassar and get my results.

    Thanks once again dear Sameh Nassar .

    My code to get my goal is

    First line of code is

        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 } 
    
            if (operation == DML_INSERT )
                       {
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),"6010010","SALES TAX PAYABLE",
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }                      
    
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,DEBIT,DRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value5+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    

    Second line code is inside a bean method

        public void addNewPurchaseVoucher(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("VoucherView1Iterator");
                   RowSetIterator rsi = dciter.getRowSetIterator();
                   Row lastRow = rsi.last();
                   int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                   Row newRow = rsi.createRow();
                   newRow.setNewRowState(Row.STATUS_NEW);
                   rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                   rsi.setCurrentRow(newRow);
    
                   BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter1 = (DCIteratorBinding) bindings1.get("VdetView1Iterator");
                   RowSetIterator rsi1 = dciter1.getRowSetIterator();
                   Row lastRow1 = rsi1.last();
                   int lastRowIndex1 = rsi1.getRangeIndexOf(lastRow1);
                   Row newRow1 = rsi1.createRow();
                   newRow1.setNewRowState(Row.STATUS_NEW);
                   rsi1.insertRowAtRangeIndex(lastRowIndex1 +1, newRow1);
                   rsi1.setCurrentRow(newRow1);
        }
    

    And final saveUpdate method is

        public void saveUpdateButton(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      
    
                   OperationBinding commit = bindingsBC.getOperationBinding("Commit");
                   commit.execute(); 
    
            OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
            operationBinding.execute();
            DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetView1Iterator");// write iterator name from pageDef.
            iter.getViewObject().executeQuery();  
    
        }
    

    Thanks for all the cooperation to obtain the desired results.

    Concerning

  • There seems to be a problem with the soft ware.  We use the CS6 for Records services and when we try to save the record, part of the record is stored. The record to be saved as an mp3 file is 70 to 100 KB but recently only 3 KB are generally

    There seems to be a problem with the software.  We use the CS6 for Records services and when we try to save the record, part of the record is stored.  Usually the recording to be saved as an mp3 file is 70 to 100 KB but recently only 3 KB are recorded.  What should I do to fix this?

    You may need to reset your preferences of hearing files stored in C:\Users\"username"\AppData\Roaming\Adobe\Audition\5.0. If you rename this folder in 5.0.bak that hearing won't find it when you open the next time if it will recreate a new settings with the default settings folder. See if hearing then works as expected.

Maybe you are looking for

  • 1.0.3 phone says unable to connect

    I tried this now for two days in different locations and I get the message UNABLE TO CONNECT, TRY LATER. I have a signal strong WiFi, and the phone did the first update a few days after I had immediately. I'm doing something wrong?

  • Sounds and foot pedal not working not not emergency Express scribe

    Original title: Express scribe of emergency! There is no sound and the pedal does not work with it.  I need help ASAP! Thank you. Dee

  • WRTP54G VoIP help

    I'm having the following problem: I'm currently stationed in Korea. I used to have Vonage, but doe to the monopoly of the local internet company is running, I had to subscribe to their VoIP service. When they came to hang it up, I expect to spend on

  • I need to connect my HP 2200 printer for a 32-bit Windows 7 system with NO parallel port

    I have an older HP Business Jet 2200 printer coming to leave, and I love using it.  My problem is the upgrade to windows 7 and a computer-ish with NO parallel port.  I have seen cables with female parallel to USB connectors, but the cable I have has

  • New on Foglight 5.6.10 - process

    With this release of Foglight is still an Agent application process, I would continue to monitor the application process, we followed the version 5.5.8 we monitor our servers remotely with this new version and have no problem tracking of BONE with th