[ http://issues.apache.org/jira/browse/TAPESTRY-314?page=all ]

Howard M. Lewis Ship reassigned TAPESTRY-314:
---------------------------------------------

    Assign To: Howard M. Lewis Ship

> FieldLabel should generate a <label> element
> --------------------------------------------
>
>          Key: TAPESTRY-314
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-314
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> Currently, the FieldLabel component just outputs a string (and has hooks into 
> the validation delegate).
> Ideally, it should generate a <label> element around the string.
> Support for informal paramater, specifically to support accesskey, would work.
> The problem is that the for attribute references a form element's id 
> attribute, which is typically not set by Tapestry (TextField, ValidField, 
> etc., set the name).
> To make this work we either need to generate unique ids for form control 
> elements, or only generate the <label> if the element includes a "id" 
> informal parameter.  Not sure which is the lesser evil.

-- 
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]

Reply via email to