File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Badass: Making Users Awesome this week in the Game Development 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)
I agree. Here's the link:
subject: SelectOneMenu + JavaBean