Value is not saved correctly which is dependent on the LOV

I have a form with 2 fields, severity and priority. The user will choose a value of gravity LOV, and based on the selected value, priority will get its value.
                                    <af:selectOneChoice value="#{bindings.Severity.inputValue}"
                                                        label="#{bindings.Severity.label}"
                                                        required="#{bindings.Severity.hints.mandatory}"
                                                        shortDesc="#{bindings.Severity.hints.tooltip}" id="soc1"
                                                        autoSubmit="true">
                                        <f:selectItems value="#{bindings.Severity.items}" id="si1"/>
                                    </af:selectOneChoice>
                                    <af:panelLabelAndMessage label="#{bindings.Priority.hints.label}" id="plam1"
                                                             partialTriggers="soc1">
                                        <af:outputText value="#{bindings.Severity.inputValue eq 'MINOR' ? 'LOW' : bindings.Severity.inputValue eq 'FATAL' ? 'HIGH' : 'NORMAL'}" id="ot2"
                                                       partialTriggers="soc1"/>
                                    </af:panelLabelAndMessage>
The problem is when I save the form, only the value of the gravity is saved in the database, while the priority is set to a null value, although I can see the priority value displayed on the screen while choosing gravity LOV in the form. Any help?

Jdev 11.1.2.3.0

I see several comments... asking where you set the priority of the viewObject attribute? It's just an outputText which shows the rated ELValue.

You understand that the priority attribute viewobject is no way connected to value displayed under af:panelLabelAndMessage label priority?

user is the approach mentioned by user 812903.

Approach 1-
Create AttributeBinding for priority in your pageDef.
Create a valueChangeListener for your SelectOneChoice of gravity.
In your valueChangeListener-1. update the model with the new value of gravity.
2 get the value in a variable that you want to set as a priority.
3. now the priority value that you did for gravity.

See the method in the following blog valueChanged - https://blogs.oracle.com/adf/entry/getting_selected_value_from_selectonechoice

Thank you
Rajdeep

Tags: Java

Similar Questions

  • Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical de

    Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Apple has not renewed the contract with Google to access Google servers.

    If the old version of iPhoto, which are still using Google's servers for the cards and places are either crashing or hanging.  Places are only work in iPhoto 9.5.1 or newer, who use places of Apple servers.

    There is more support for iPhoto from Apple.  You must update iPhoto 9.5.1 with the Mavericks. It would work well, only it is no longer buying this update to Apple.

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    It is very likely.  If iPhoto work very well when you are offline, then your problems will be caused by the connection failed to Googles servers.

    See this: Bug: iPhoto 9.4 crashing when viewing the scene

  • I have Firefox 8.0.1 and since the update to it, some sites, I need to go so that Firefox will not accept certificates which is accepted in the previous version. I can not get the permanent exception and must uncheck permanent and do every time.

    I have Firefox 8.0.1 and since the update to it, some sites, I need to go so that Firefox will not accept certificates which is accepted in the previous version. I can not get the permanent exception and must uncheck permanent

    You can use this button to go to the Firefox profile folder:

    • Help > troubleshooting information > profile directory: opens showing the file

    It is not usually necessary to create an exception for the certificates.

    Possible causes are that a server does not send the full (intermediate) certificate chain or self signed certificates.

  • String value, do not update correctly.

    I want to write a function that updates a string value, but does not return a value. In the snippit below, I'd like to pass the variable string 'test' in the function and change its value. When I do that, however, the value does not change. Can someone help me with this?

    var testString:String = "this is the test string";
    
    
    testFunction(testString);
    
    
    function testFunction(newString:String):void{
              newString += " again"
              trace(newString) //traces "this is the test string again"
              trace(testString) //traces "this is the test string"
    }
    
    

    use:

    var cityNamesString:String;
    var carNamesString:String;
    var nflTeamsNamesString:String;
    
    var cityNamesArray:Array = new Array("Atlanta","New York","Seattle","Texas ","Boston");
    var carNamesArray:Array = new Array(" Ford","Toyota","Chevy","GMC ","Nissan");
    var nflTeamsNames:Array = new Array(" Falcons","Giants","Seahawks","Texans","Patriots");
    
    testFunction(cityNamesArray, "cityNamesString");
    testFunction(carNamesArray, "carNamesString");
    testFunction(nflTeamsNamseArray, "nflTeamsNamesString");
    
    trace(cityNamesString)//id like it to trace : Atlanta,New York,Seattle,Texas ,Boston.
    trace(carNamesString)//id like it to trace : Ford,Toyota,Chevy,GMC,Nissan
    trace(nflTeamsNamesString)//id like it to trace :Falcons,Giants,Seahawks,Texans,Patriots
    
    function testFunction(array:Array, string:String):void{
     if(!this[string]){this[string]="";} else {this[string]+=",";}   for(var i:Number = 0; i < array.length; i++)
      {
      this[string] += array[i] + ",";
      }
    
      }
    
    
  • Windows 7 message pop-up cigarette... "local area connection adapter does not work correctly. Problems related to the pilot experience or material"what the devil does that average and that the devil can do?

    When I logged on this morning, Windows 7 gave me the following message... "The connection to the local network problems hardware or driver. For connection to the local network adapter does not work correctly. "My Windows offered solution was go using Windows.  Help

    Hello

    Try to uninstall and reinstall the network adapter drivers.

    Download the latest drivers from the card manufacturer support page.

    Download the drivers and extract them to a folder of your choice.

    In Device Manager, right-click on the adapter.

    Click Update drivers and choose her browse my computer for drivers.

    Choose let me a list of choices, click on disk and point to the folder with the drivers.
    ---------------------------

    Computer network health.

    Check the Device Manager for the entry of valid card of the wire.

    http://www.ezlan.NET/Win7/net_dm.jpg

    If there is no valid entry, remove any entry from fake and re - install the drivers for the wireless card.

    Check network connections to make sure that you have a Local Area Connection icon/entry, and that the properties of the icon (right-click on the icon) are correctly configured with the TCP/IPv4 protocol in the properties of network connections.

    http://www.ezlan.NET/Win7/net_connection_tcp.jpg

    Connect you to the menu of the router from a work computer and make sure DHCP is on, and it is configured to assign IPs which can cover the number of computers that are connected (a bit more will be even better).

    Turn off the computer and the router, reset the router and the computer.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    On the State of intellectual property.

    TCP/IP and its variables usually look like this.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    Typical TCP/IP status looks like this.

    http://www.ezlan.NET/Win7/status-NIC.jpg

    Description is the data of the card making.

    Physical address
    is the MAC of the card number.

    The xx must be a number between 0 and 255 (all xx even number).

    YY should be between 0 and 255

    ZZ should be between 0 and 255 (zz all the same number.)

    The date of the lease must be valid at the present time.

    * Note 1.
    IP that starts with 169.xxx.xxx.xxx isn't valid functional IP.

    * Note 2 There could be an IPv6 entries too. However, they are not functional for Internet or LAN traffic. They are necessary for Win 7 homegroup special configuration.

    ------------------------

    Also, make sure that the software firewall on each computer allows free local traffic. If you use 3rd party Firewall on, Vista/XP Firewall Native should be disabled, and the active firewall has adjusted to your network numbers IP on what is sometimes called the Zone of confidence (see part 3 firewall instructions

    General example, http://www.ezlan.net/faq.html#trusted

    Please note that some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled). If possible, configure the firewall correctly or completely uninstall to allow a clean flow of local network traffic. If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • The red color does not print correctly. Have just replaced the Red cartridge and the problem remains

    HP Color LaserJet 2600n, Windows 7 64 bit

    The red color does not print correctly, it of a weak orange and turn yellow on the edges.

    The problem is, even if we just replaced the cartridge.

    The other colors are fine.

    I'm sorry.  It's a consumer forum and your printer is a product of the company; would be better served on the forum planned for it.  The business forum will be experienced in printers of business community members and expose the post more than members with the knowledge needed to answer.

    http://h30499.www3.HP.com/T5/printers-LaserJet/BD-p/BSC-413#.UDQAKt2PUaA

  • "Non-rectangular objects will not display correctly when you export with the help of CSS."

    I use Ind CC 2014 export a document to an epub recomposable.  The document contains a picture .ai.  The image export correctly in some parts of the the.epub, but not others, when it is deformed. There is a warning on export: "Non-rectangular objects will not display correctly when you export using CSS."  Any suggestion is appreciated.

    Hello

    For these objects, the best option is to 'rasterize container"to preserve appearance of the page layout setting in the Options of the Export Object dialog box and then export to EPUB recomposable.

    Kind regards

    POOJA

  • Recovery update Word document which is not saved correctly

    I wrote a posting for the College in microsoft word for vista, the computer says it was automatic save file, but I accidentally closed the file and when asked if I wanted to save changes I said NO! Is it possible to recover?

    Hi MartinaSaurin,

    In addition to the post of Dissed, please see the following article:

    http://support.Microsoft.com/kb/316951

    I hope this helps!

  • Why my custom workspace is not saving correctly?

    Since the last update a week or two ago, I had to redo my custom several times workspace. Despite checking the boxes so that my favorite tools are saved in my by default instead of Photoshop, it keeps returning to the default values for the application every time I open the program. The signs are correct, and it shows it opens my workspace, but I have to constantly re - choose my favorite tools (wand instead of quick selection, polygonal lasso, instead of lasso; instead of the gradient tool to paint bucket). I give the workspace a different name every time I re-do; and I remove all other custom work spaces until I re - create. I've never had this problem before. Is it me?

    This is a bug related to the starting workspace. The workaround is to disable the workspace of beginning of preferences > General: uncheck "Show 'Start' workspace when no document is open."

  • Firefox is not saving my session when I close the browser

    I keep my browser set to remember my tabs open when I close Firefox. Since the last update, but I couldn't get there. I checked my preferences and the option to keep the tabs in Firefox closing is always selected. When I go to for closing of Firefox, however, I get the 'you are about to close X tabs' message and all the tabs are forgotten. When I open Firefox again the tabs I had open are all gone. I tried to re-selecting the option 'save my tabs' several times, but he did not a difference in Performance Explorer, even if the settings are still correct when I check again. I'm not sure what to do about this, but it's quite maddening and I would really like to find a solution, best before frustration leads me to find another browser to use.

    Use "Firefox > output" (Windows: Firefox/file > quit;) Mac: Firefox > quit Firefox. Linux: Firefox/file > exit) to close Firefox if you are currently doing by clicking on the X close in the title bar of Firefox.

    In the case you use 'clear history of Firefox closing. "

    • do not erase browsing history

    Firefox update and retrieve files in the sessionstore-backups folder and create a sessionstore.js file when you close Firefox?

    You can use this button to go to the current Firefox profile folder:

  • My colors are not displayed correctly. I already asked the question, but here's the screenshot also.

    There is no apparent way to upload the screenshot I did not. Not a very intuitive site.

    Continue in your old thread and fix the image here.

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem (on the wire, linked above).

  • Wireless Mouse 5000 does not work correctly when moved away from the transmitter.

    I have the mouse as shown in the title with new batteries.
    Link: http://www.microsoft.com/hardware/en-us/p/wireless-mouse-5000/MGC-00017
    My installed OS Windows 7 x 64 SP1. A clean installed on the computer without additional software in the meantime.
    When I connect the transmitter (2.4 ghz v7.0 model 1423) the mouse to the computer, it identifies only, and the mouse works.
    In devices and printers, the transmitter is under indefinite and after installing IntelliPoint 8.2 64-bit for Windows 7, it remains the same.
    Sometimes the mouse does not react on the screen, as it got stuck and moving in parts rather than sequentially. Including the mouse buttons that do not meet at the moment.
    If I bring the mouse close to the transmitter, the problem goes away and it works fine.
    After the test, no relation to the load on the processor, the problem appears randomly.
    I tried to replace USB ports but no change, the problem goes away only if I put the mouse close to the transmitter.
     
    Original title: Wireless Mouse 5000

    Hello Tomer,.

    Thanks for the reply.

    You can check the following items and check if it helps to solve this problem:

    The wireless keyboard or mouse may not respond and may start and stop at irregular intervals
    Troubleshoot a wireless mouse that does not correctly
    Troubleshoot the incidents of the response to the mouse or wireless keyboard

    If the problem persists always, as mentioned above, contact Microsoft Hardware support for assistance. All material related to problems are treated by them.

    Email us if you have any other issues related to Windows.

  • BONES of Firefox does not appear correctly. It seems that the CSS and JS are not rendered. Any help would be most appreciated!

    I would have preferred someone show a screenshot of the web pages, but it is not a file attach on this forum. In any case, with only Firefox OS, not my other browsers, web pages didn't properly. For example on Facebook, there is no header or footer. JS is enabled in the browser, and like I said Chrome and Safari are NOT having problems. I'm surmising that the CSS and JS files are somehow not displayed. I can be very wrong, but I would accept with gratitude any help anyone has to offer. Thank you and have a great day!
    Theresa

    Hi Lufte,

    I'm sorry to hear that you are having problems with the rendering of some pages on your Firefox OS device.

    Please create a new question in the thread so that we can follow your question separately:

    Please also provide the model of the device and the version that you are currently using, and if this problem started recently. Please let us know if you notice also messed with the time and date displayed in your device.

    Thank you

    -Ralph

  • I get a message that says "not enough storage", which appeared shortly after the most recent update. What should I do? Thank you.

    Nothing extra to add to above.

    You can install App 2 SD and so you'll get a free space... and applications run normally

  • CS Apps do not start correctly. Need help interpreting the logs

    Hello

    I have a problem running CC Apps on a Windows System. Shortly after starting work stops App (in this case, InDesign) and the process is set to inactive in the Task Manager. I have gatherd log files and it would be nice if someone could help me solve this problem.

    http://pastebin.com/crpzc8p3 adobegc.txt

    http://pastebin.com/dgY5P7Tv PDApp.txt

    AMT3.txt is too large for pastebins self-service (753KB). someone at - it a suggestion how I can provide the amt3 log file?

    Thanks in advance!

    Hello

    This link can help you troubleshoot Creative Cloud apps install and uninstall errors

    If your problem remains the best way to send your log file is to contact us either through the Support tab under the table edge Enterprise or through this link https://helpx.adobe.com/contact.html

Maybe you are looking for