tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TAP5-200) The Submit component doesn't need validation decoration
Date Thu, 06 Nov 2008 03:05:44 GMT

     [ https://issues.apache.org/jira/browse/TAP5-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship updated TAP5-200:
--------------------------------------

    Summary: The Submit component doesn't need validation decoration  (was: The Submit component
doesn't need validation decoration.)

As part of the fix, the Submit no longer extends from AbstractField, and no longer implements
Field.  It does still implement ClientId.  The ClientId is allocated lazily, as with the link
components.

> The Submit component doesn't need validation decoration
> -------------------------------------------------------
>
>                 Key: TAP5-200
>                 URL: https://issues.apache.org/jira/browse/TAP5-200
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>            Reporter: Nick Westgate
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.16
>
>         Attachments: TAPESTRY-1672.patch
>
>
> Currently, each form field, including submits, is wrapped with validation decoration.
Eg:
> <input id="itemEdit" name="itemEdit" type="submit" value="Edit">
> <img alt="[Error]" class="t-error-icon t-invisible" id="itemEdit:icon" src="/myapp/assets/tapestry/field-error-marker.png">
> Submit should suppress it by eg:
>     @Override
>     public void beforeDecorator(MarkupWriter writer)
>     {
>     }
>     
>     @Override
>     public void afterDecorator(MarkupWriter writer)
>     {
>     }
> Cheers,
> Nick.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message