Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Highlighting selected values h:selectManyListbox

 
Karthik Vijayarajan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic