[ http://issues.apache.org/jira/browse/TAPESTRY-176?page=all ]
Howard M. Lewis Ship resolved TAPESTRY-176:
-------------------------------------------
Fix Version: 4.0
Resolution: Won't Fix
Assign To: (was: Tapestry Developer List)
Release 4.0 removes commons-lang as a dependency, and
EnumPropertySelectionModel went with it. To be honest, PropertySelection is
getting a bit old in the tooth, we need a better component (or really, a better
IPropertySelectionModel) that allows for hints and labels.
> Provide an option to build an EnumPropertySelectionModel with a blank option
> ----------------------------------------------------------------------------
>
> Key: TAPESTRY-176
> URL: http://issues.apache.org/jira/browse/TAPESTRY-176
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0
> Environment: Operating System: All
> Platform: All
> Reporter: Marcus Brito
> Fix For: 4.0
> Attachments: BlankEnumPropertySelectionModel.java
>
> It's just a commom idiom to build a PropertySelectionModel including a blank
> option, so one of the two scenarios can be achieved:
> 1) Make the field optional. It may be left blank, but if it's to be informed
> by
> the user, should be one of the options in the enum, or
> 2) Force the user to choose an option without defaulting to the first one in
> the
> list.
> This could be implemented as an extra boolean argument to the
> EnumPropertySelectionModel, something like:
> EnumPropertySelectionModel(Enum[] options, ResourceBundle bundle, boolean
> includeBlankOption)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]