I've updated the SelectItems for Seam selectitems component. Major changes are:
Support for a 'Please Select...' label at the top, EnumConverter.
http://www.jboss.com/wiki/Edit.jsp?page=SeamSelectItems
I find that the EntityConverter and EnumConverter cover all my selectitem needs :) Thanks
to everyone who has helped test this and Mikko Koponen for supplying the 'Please
Select...' label support.
| * FEATURE: Patch from Mikko Koponen to support 'noSelectionLabel'. This
places a SelectItem at the top of the list which has a value null. Combined with the use
of required="true" this allows the UI to force the user to select a value from
the list.
| * BUG FIX: Patch from Mikko Koponen to correct error in jsfValue (Thanks to others
for spotting this)
| * BUG FIX: Patch from Mikko Koponen to search superclasses for @Id (Thanks also to
Jarkko for finding the bug)
| * FEATURE: Use of Seam Messages resource bundle. By default any label is interpreted
as a key for the Seam message bundle. As usual with the Seam message bundle if the
key/value pair isn't defined the key is used.
| * FEATURE: An EnumConverter to complement the EntityConverter
| * BUG FIX: Example upgraded to show new features
| * BUG FIX: Upgrade Ant Build to support build numbers
| * FEATURE: Move homepage of project to Seam Wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamSelectItems
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980465#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...