aspose file tools
The moose likes JSF and the fly likes selectManyListbox - IllegalArgumentException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "selectManyListbox - IllegalArgumentException" Watch "selectManyListbox - IllegalArgumentException" New topic
Author

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?



JSP:


Code:


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.



JSP
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: selectManyListbox - IllegalArgumentException
 
Similar Threads
How to use ValueChangeLister attribute in selectOnemenu
Strange behavior: action method not called when button submitted
f:selectItems can't set value
How to prepopulate combo boxes on page startup
Argument Error: One or more parameters are null.