This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes SelectOneMenu + JavaBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "SelectOneMenu + JavaBean" Watch "SelectOneMenu + JavaBean" New topic

SelectOneMenu + JavaBean

Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112

Somebody know how to use JavaBeans (DTO) on SelectOneMenu?
I don't want to populate a List of SelectItem... I just want to use List of DTO's... (setting the property for value and the property for label!)

[ March 20, 2006: Message edited by: Luciano A. Pozzo ]
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
Did you try value biding ? have a look at Gregg's code in this thread


SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
It is sorta covered in the JavaRanch Style Guide.
subject: SelectOneMenu + JavaBean