Showing posts with label SelectOneChoice. Show all posts
Showing posts with label SelectOneChoice. Show all posts

Monday 8 September 2014

Display Value Of SelectOneChoice in Bean or LOV in ADF.

Hello Fellas, today I'm Sharing my learning on how to get the get the display value of SelectOneChoice in Bean or LOV.

make the SelectOneChoice autoSubmit value true and make a  method on valueChangeEvent of the SelectOneChoice,

and write this simple code Snipet in the method.

Object obj=valueChangeEvent.getNewValue(); 
Object xxx=ADFUtils.evaluateEL("#{bindings.CountryName.items['"+obj.toString()+"'].label}"); System.out.println(xxx.toString());

where CountryName to which you want to get in your bean,

you can use this code anywhere in your bean.


you can use the ADFUtils from here ADFUtils which simply depends on 

JSFUtils so please download that too from here JSFUtils


thank you :)

A Guide to Installing Oracle HR Schema on an Existing Docker Container

  Hi Reader, Today I want to share my learning on how to install Oracle HR schema on a existing docker container. Step 1: Download the verif...