[ http://mc4j.org/jira/browse/STS-311?page=all ]
Ben Gunter closed STS-311.
--------------------------
Resolution: Won't Fix
Assignee: Ben Gunter (was: Tim Fennell)
Seems like everybody is satisfied here. Closing as Won't Fix.
> Proposal: textfield label auto creation
> ---------------------------------------
>
> Key: STS-311
> URL: http://mc4j.org/jira/browse/STS-311
> Project: Stripes
> Issue Type: New Feature
> Components: Tag Library
> Affects Versions: Release 1.5
> Environment: It's a common case that all textfield labels are created
> in the same way (to keep a consistent look and feel).
> Reporter: Ignacio Coloma
> Assigned To: Ben Gunter
>
> This proposal consists in defining a new attribute for the textfield tag,
> autoLabel=true. If true, the textfield would create automatically a label
> before itself. To customize this creation a LabelFactory interface would be
> needed. Example:
> * Config parameter for default automatic label creation (defines if the
> default value would be true or false)
> autolabel.default=false
> * Default label factory:
> autolabel.factoryClass=net.sourceforge.xxx.DefaultAutoLabelFactory
> Example of use:
> <stripes:text autoLabel="true" name="name"/>
> HTML output:
> <label for="name">Name translated</label>: <input type="text" name="name"/>
> The label factory can be changed, for example if you are a usability freak,
> to allow certain type of design with ease:
> http://www.uxmatters.com/MT/archives/000107.php
> If you feel this interesting I can have a patch developed in about a week,
> test case included. Only tell me because I need to know if I should develop a
> separate custom tag or extend stripes. Of course thi is open to discussion
> (if you feel a generic pattern like a decorator is more appropiate, or
> whatever)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development