Retrieve selected value from selectOneChoice without writing a single line of code by Rohan Walia

While using selectOneChoice in the page to implement drop downs, it becomes very cumbersome to get the selected value from the list. One often has to write some lines of code in the managed bean to get the selected value from the drop down.

So in this post we will see how to get the selected value from the drop down list (af:seclectOneChoice) without writing a single line of code and without using any bean.
This uses the use of Variable Iterator which we discussed in the previous post. Variable Iterator in ADF to store values between requests.

The application can be downloaded from  Here So lets get started and create a ADF application in jdev with a jspx page named test.jspx as below.Now go to bindings of this page and inside variables , add a new variable of type string and give it a name. regionName for this example. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
5
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today