ADF Basics: Get display and base value of POJO based SelectOneChoice by Ashish Awasthi
Posted: August 28, 2016 in JDeveloper & ADF
Tags: adf, Ashish Awasthi, Jürgen Kress, opn, oracle, weblogic community
Previously I have posted about populating selectOneChoice programmatically using POJO
Programmatically populate values in a af:selectOneChoice component in ADF
and this post is about getting selected value of POJO base selectOneChoice (both display value and base value)
We can get base value of selectOneChoice simply using value property but to get display value we have to iterate over list of items and find display value on basis of Base value
So here I have created a POJO based selectOneChoice , for that declared a List in managed bean to populate list items and a String variable to hold selected value of choice list. 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 Forum Wiki