odd behaviour of @Validate(on=... after storing action bean in flash scope
--------------------------------------------------------------------------

                 Key: STS-567
                 URL: http://www.stripesframework.org/jira/browse/STS-567
             Project: Stripes
          Issue Type: Bug
    Affects Versions: Release 1.5
            Reporter: Stanisław Skowron
            Priority: Minor


In following code:

@Validate(on="event2", required=true)
private Integer val;

@HandlesEvent("event1")
public Resolution event1(){
  return ...
}

@HandlesEvent("event2")
public Resolution event2(){
  return new 
RedirectResolution(this.getClass()).addParameter("event1").flash(this);
}

Stripes tries to validate presence of property val during execution of event1 
after redirecting from event2. When ".flash(this) " is removed, no validation 
occurs as requested.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to