Do you really need a lot of converters?  The @SelectItems binder does the 
conversion from whatever to SelectItem for you.  I see you're using the Object 
strategy.  The strategy works fine if you already have a lot of converters, but 
it wasn't my intention that you create additional converters to use 
@SelectItems.

Another way that would avoid the extra converter classes would be to write 
another binder that takes the selected value from the UISelect{One, Many} 
component and did the appropriate lookup from the original @SelectItems 
collection.

This has been on my TODO list for a while.  Between holidays, weddings, and 
work my time just seems to evaporate.  I will of course add this to my existing 
contribution once finished.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955334#3955334

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955334

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to