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

Problems with SelectOneListBox get Error =Value is not a a valid option  RSS feed

 
Martin Mikolajek
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I populate a Listbox with a TreeMap<Integer,String> and the Display of the entries works fine, but when i select a Item i get the Error Value is not a valid Option.
My set-method is defined public setWert(Integer sw) {}

can anybody help me ?

Greetings

Martin Mikolajek
 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
howzit Martin, post your code, then perhaps I can help.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!