By Juergenkress-Oracle on Feb 08, 2014
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.
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.