[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-dev
Subject:    [jira] Created: (WW-2821) REST & Validation
From:       "Alvin Singh (JIRA)" <jira () apache ! org>
Date:       2008-09-30 11:17:24
Message-ID: 1262899649.1222773444937.JavaMail.jira () brutus
[Download RAW message or body]

REST & Validation
-----------------

                 Key: WW-2821
                 URL: https://issues.apache.org/struts/browse/WW-2821
             Project: Struts 2
          Issue Type: New Feature
    Affects Versions: 2.1.2
            Reporter: Alvin Singh


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic