-
1. Re: <rich:pickList> saved selected value not populate on page load
pvito Jan 10, 2012 5:49 AM (in response to swastikpadhy84)Hi, swastik padhy
I think, variable
matList
in yourMasterBean
becomes empty on page load.You need fill this List from database and render
rich:pickList.
Regards, Vitaliy
-
2. Re: <rich:pickList> saved selected value not populate on page load
swastikpadhy84 Jan 10, 2012 5:55 AM (in response to pvito)Hi Vitaliy,
Thanks for your response. Before Page load I am getting the list from the DB and the list is not empty.
Regards,
Swastik
-
3. Re: <rich:pickList> saved selected value not populate on page load
stevestair Jan 20, 2012 4:55 PM (in response to swastikpadhy84)rich:pickList won't call
master.setSelListName(...)
when the pickList is changed. I know it DOES call the setter when I submit the form. I tried changing my form submit h:commandButton to an a4j:commandButton with ajaxSingle="true" and my changes never got to the server.You would think there would be an easy way to make a pickList call the setter every time the user changes something. Perhaps something like <rich:tabPanel switchType="ajax">.