File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Spring in Action this week in the Spring 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