[ http://issues.apache.org/jira/browse/TAPESTRY-694?page=all ]
     
Jesse Kuhnert resolved TAPESTRY-694:
------------------------------------

    Fix Version: 4.0.1
     Resolution: Fixed

Added the writeLabelAttributes method to IValidationDelegate. Also updated 
documentation and workbench example application.

Would like to take font coloring default behaviour out, but will wait for a 
future version to avoid too much change in what should be a final release..

> FieldLabel.renderComponent() should invoke the ValidationDelegate to write 
> label attributes
> -------------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-694
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-694
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Reporter: Sameer Rayachoti
>     Assignee: Jesse Kuhnert
>     Priority: Minor
>      Fix For: 4.0.1

>
> Currently, the ValidationDelegate exposes these methods for rendering form 
> components:
> writePrefix()
> writeAttributes()
> writeSuffix()
> In ValidField.renderFormComponent(), all of these methods are invoked on the 
> ValidationDelegate.
> However, the ValidationDelegate only exposes these methods for rendering 
> FieldLabels:
> writeLabelPrefix()
> writeLabelSuffix()
> As a result, there's no way for the ValidationDelegate to write attributes to 
> the <label> tag.
> I suggest a new empty method writeLabelAttributes() be added to 
> ValidationDelegate.
> And the writeLabelAttributes() method should be invoked in 
> FieldLabel.renderComponent() after rendering informal parameters.

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