You can try like this In this way you can access values from bean to html tag-

Requirement -Get value of the outputtext in javascript and send it to backing bean in Oracle ADF Solution – We will use clientListener to call java script function and Serverlistener for calling java function Below is the code for accomplish this – page code – find javascript function code – method in bean happy coding […]

I found one approach to get the display value of LOV in managed bean using ¬†ADFUtils.evaluateEl method. Say if you have a value change listener for an lov, ¬†valueChangeEvent.getNewValue() gives the index of the value. To get the display value of the lov, use below logic ¬†: public void onDeptNameChange(ValueChangeEvent valueChangeEvent) { Say if you […]

Another approach i am sharing with you.Normally we want to get selectOneChoice value and we normally get the index. We will creating an attribute in the selectOneChoice items and the selected value lable. and in the bean you can write as that’s it, you are done. Happy coding with Vinay Kumar in techartifact,,

Requirment-Get value of LOV/choiceList programmaticaly in bean instead of index in Oracle ADF When you wrote like In backing bean we get the index, not the value. most of the developer did this mistake. JSFUtils.resolveExpression(“#{bindings.EmployeeId.inputValue}”); —- We got the index Instead of use attributeValue to get the value in bean.use this code in the bean […]

In JSF 2.0, Java bean that is accessed from JSF page is called a Managed Bean. The managed bean can be a normal Java bean, which contains the getter and setter methods, business logic or even a backing bean (a bean contains all the HTML form value). There are two ways to configure the managed […]

Requirment- Need an object of Application module in managed bean Sometime we required to get an object of ApplicationModule in managed bean.May be we want to play with some VO object which we can get from ApplicationModuleImpl Object only. There are two ways. First way- Above AppModuleAMDataControl is name of application module in datacontrolBinding.cpx,open datacontrol […]