Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Highlighting selected values h:selectManyListbox  RSS feed

 
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
 
it's a teeny, tiny, wafer thin ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!