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.
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.
4.with edit button in frag1.jsff we navigate to the frag2.jsff.
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.
7.the EmployeeBean managebean is as blow.
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
Post a Comment