ADF Filter LOV View Object , af:selectOneChoice Programmatically

Filter LOV and populate selectOneChoice Programmatically

In This post, I want to filter LOV View object before loading to the page,

1. I have main.xml as taskflow, frag1.jsff frag2.jsff as fragment and index.jsf as page.
ADF Filter LOV View Object , af:selectOneChoice Programmatically



2. drag main.xml taskflow and drop into the index.jsf page als region.


3.there is a employee list in frag1.jsff and employee form in frag2.jsff for editing.

ADF Filter LOV View Object , af:selectOneChoice Programmatically



4.with edit button in frag1.jsff we navigate to the frag2.jsff.
ADF Filter LOV View Object , af:selectOneChoice Programmatically


5. drag a af:selectonechoice component and drop into the frag2.jsff.

6. set #{bindings.DepartmentId.inputValue} as value and #{pageFlowScope.EmployeeBean.customList} for the selectItems component.
ADF Filter LOV View Object , af:selectOneChoice Programmatically


7.the EmployeeBean managebean is as blow.

ADF Filter LOV View Object , af:selectOneChoice Programmatically


8. in Department viewobject there is viewceriteria that I initialse bind variabale and apply viewceriteria with the code, and set the resultl into the lov .

Comments

Popular posts from this blog

Oracle JET with Firebase Realtime Database (Part 1)

Oracle ADF Composite Primary Key