Saturday, March 6, 2021

ADF LOV based dropdown not showing all records

 It is very common requirement to show dropdown with values coming database .In ADF we use Model based LOV dropdown or we drag the View object as af:selectOneChoice in our fragment or jspx page as below



now code that gets generated is as below








When you run this page the dropdown that is shown is just having 10 values as below















Where as in Database  i have 27 department names present .Reason for having 10 records in dropdown is if you go to page definition file of above dropdown page it looks like below and iterator binding of the DepartmentView is having range size as 10










Now to see all records of department names present in database change the range size 

value to -1 and run the page again to see dropdown show all values of department name as below .



No comments:

Post a Comment