aspose file tools*
The moose likes JSF and the fly likes Highlighting selected values h:selectManyListbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Highlighting selected values h:selectManyListbox" Watch "Highlighting selected values h:selectManyListbox" New topic
Author

Highlighting selected values h:selectManyListbox

Karthik Vijayarajan
Ranch Hand

Joined: Mar 13, 2005
Posts: 43
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

So,in the constructor of my backing bean,i do this.

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


Karthik <br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Highlighting selected values h:selectManyListbox
 
Similar Threads
Using dropDown in jsf
JSP
selectManyListBox to add/remove user Roles
h:selectOneMenu and Map bindings
Problem with selectManyListbox