If you have access to the index of the selected item, then you can use value to retrieve value of any attribute of the underlying view object. I agree that with new releases there are more direct approaches in doing so, however, depending on the business requirement, the following method may just come handy – […]

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 […]

Requirement – I am working on tricky requirement where i have two child component and one child LOV.How to do that? Solution- Well if you have working knowledge of cascading LOV in then we pass bind parameter of parent LOV attribute in child LOV View Accessor(VA) . But in this scenario , we have two […]

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 […]

Hi, This week we will be learning how to create LOVs in Oracle ADF application. Pre-requisites: – HR Schema in Oracle database. – I am using Jdeveloper 11.1.3 Objective: On this post we will create LOV for Department Id in Simple Employee based form. Steps to follow: Adding Department Entity: – Add Departments Entity by […]