• Post Reply Bookmark Topic Watch Topic
  • New Topic

selectManyListbox - IllegalArgumentException  RSS feed

 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Sun RI of JSF 1.2

I keep getting the following error in the logs. What am I missing?



JSP:


Code:
 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured it out.

Aside from my sample being wrong - can't paste in actual code so I was trying to modify it on the fly and messed that part up.

The issue for me was that I was trying to bind the value of the wrong Array to my h:selectManyListbox. I should have had another String [] to use instead of the tempItems SelectItem array.

Here is a cleaner sample.



JSP
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!