tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-1131) @SkipIfValidationErrors component method annotation
Date Mon, 12 Jan 2015 08:10:39 GMT

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

Jochen Kemnade closed TAP5-1131.
--------------------------------
    Resolution: Invalid

We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the latest 5.4
preview release), feel free to provide the necessary information and reopen.

> @SkipIfValidationErrors component method annotation
> ---------------------------------------------------
>
>                 Key: TAP5-1131
>                 URL: https://issues.apache.org/jira/browse/TAP5-1131
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> It is common when writing a "validate" event handler method to skip the method if more
fundamental validation errors have occurred. Currently one must:
> @Environmental ValidationTracker tracker;
> void onValidateFromMyForm() { if (tracker.hasErrors()) return;  ... }
> A @SkipIfValidationErrors annotation could encompass that check.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message