[ http://issues.apache.org/jira/browse/TAPESTRY-694?page=all ]
Jesse Kuhnert reassigned TAPESTRY-694:
--------------------------------------
Assign To: Jesse Kuhnert
> 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
>
> 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]