From: CptnKirk <do-...@jb...> - 2006-07-04 18:59:19
|
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 |