File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Highlighting selected values h:selectManyListbox" Watch "Highlighting selected values h:selectManyListbox" New topic

Highlighting selected values h:selectManyListbox

Karthik Vijayarajan
Ranch Hand

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


Karthik <br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3
I agree. Here's the link:
subject: Highlighting selected values h:selectManyListbox