Developer Partner Community

  • February 8, 2014

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

Juergen Kress
PaaS Partner Adoption

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

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.