tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameer Rayachoti (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-694) FieldLabel.renderComponent() should invoke the ValidationDelegate to write label attributes
Date Thu, 06 Oct 2005 21:13:48 GMT
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
    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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message