tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29228] New: - Provide an option to build an EnumPropertySelectionModel with a blank option
Date Wed, 26 May 2004 14:06:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29228>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29228

Provide an option to build an EnumPropertySelectionModel with a blank option

           Summary: Provide an option to build an EnumPropertySelectionModel
                    with a blank option
           Product: Tapestry
           Version: 3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Framework
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: pazu@animegaiden.com.br


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)

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message