Posted By:
karthik_vijayarajan
Posted On:
Friday, September 8, 2006 07:38 AM
Hi I have a listbox in my JSP and am trying to make a few values inside the listbox as selected. My listbox code in JSP looks like styleClass="selectManyListbox" id="lstRoleList" value="#{userBean.roleList}" valueChangeListener="#{pc_Update.handleLstRoleListValueChange}" onchange="return func_11(this, event);"> So,in the constructor of my backing bean,i do this. getUserBean().setRoleList(someList); This someList is an arraylist containing Long objects But the values i am setting here in the backing bean are not showing up as selected in the JSP. Can someone pls help me in
More>>
Hi
I have a listbox in my JSP and am trying to make a few values inside the listbox as selected.
My listbox code in JSP looks like
styleClass="selectManyListbox" id="lstRoleList"
value="#{userBean.roleList}"
valueChangeListener="#{pc_Update.handleLstRoleListValueChange}"
onchange="return func_11(this, event);">
So,in the constructor of my backing bean,i do this.
getUserBean().setRoleList(someList);
This someList is an arraylist containing Long objects
But the values i am setting here in the backing bean are not showing up as selected in the JSP.
Can someone pls help me in getting thru this?
Thanks
Karthik