ADF Basics: Get display and base value of POJO based SelectOneChoice by Ashish Awasthi

Posted: August 28, 2016 in JDeveloper & ADF
Tags: , , , , ,

 

clip_image002Previously 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s