File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes selectManyListbox - IllegalArgumentException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "selectManyListbox - IllegalArgumentException" Watch "selectManyListbox - IllegalArgumentException" New topic

selectManyListbox - IllegalArgumentException

leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
Using Sun RI of JSF 1.2

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



Thanks, leo
leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
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.

I agree. Here's the link:
subject: selectManyListbox - IllegalArgumentException
jQuery in Action, 3rd edition