You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Sameer Rayachoti (JIRA)" <ta...@jakarta.apache.org> on 2005/10/06 23:13:48 UTC

[jira] Created: (TAPESTRY-694) FieldLabel.renderComponent() should invoke the ValidationDelegate to write label attributes

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


[jira] Assigned: (TAPESTRY-694) FieldLabel.renderComponent() should invoke the ValidationDelegate to write label attributes

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Resolved: (TAPESTRY-694) FieldLabel.renderComponent() should invoke the ValidationDelegate to write label attributes

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org