Lazy Loading for selectOneChoice values.
818873Jun 26 2012 — edited Jun 27 2012Hi ,
I am trying to fetch Data for a tasklist, and rendering a UI in which every task comes as a row. Now in the wokflow every task can have Actions that are associated with it, Which I am displaying as a dropdown in each row of the task. But thid design is loading all the tasks and the actions associated with each of this task on page load which is causing a performance bottle neck.
I now want to redesign so that the page loads with all tasklist and blank dropdowns, and on click on the dropdown, load the actions assoiciated it with that task dynamically and populate the list. Can some one suggest me a right approach of doing it.
I tried using <af:clientListener approach to call a managebean method to load the values, but the selectOneChoice does not support <af:serverListener>.
Thanks
Ashwin