Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalArgumentException  RSS feed

 
Oleg Tikhonov
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, everyone!
I use ICEFaces's ice:selectOneListbox, it's like sun's one.
"java.lang.IllegalArgumentException: argument type mismatch"
I get the error afore mentioned. Here is my piece of code:

And backing bean:


I was wondering if anyone had a some ideas how to solve it.
Thank you in advance.
 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't used icefaces. My guess is since you are using selectOneListbox component, why don't you use String datatype for value attribute instead of String[]?
 
Oleg Tikhonov
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for really quick response!
That's it! You have solved my problem!!! Once again, thanks a lot.
:thumb:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!