struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-2821) REST & Validation
Date Tue, 10 Nov 2015 05:33:11 GMT

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

Lukasz Lenart updated WW-2821:
------------------------------
    Fix Version/s:     (was: 3.0)
                   2.5

> REST & Validation
> -----------------
>
>                 Key: WW-2821
>                 URL: https://issues.apache.org/jira/browse/WW-2821
>             Project: Struts 2
>          Issue Type: New Feature
>    Affects Versions: 2.1.2
>            Reporter: Alvin Singh
>             Fix For: 2.5
>
>
> When implementing REST-like controllers as per REST plugin guidelines, I have multiple
methods in the same class e.g. save and update. If I require validation I can annotate each
method with validation annotations and enable validateAnnotatedMethodOnly.
> The issue is that I can only have one 'input' result. Validation failure on either of
these methods will lead to the same page. The issue is described here also - http://www.nabble.com/forum/ViewPost.jtp?post=19230629&framed=y.
> It would be nice if there was an validation annotation to set the result name via annotations
on validation failure (similiar to worflow interceptor).



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

Mime
View raw message