I believe this line return new ForwardResolution(VIEW);
Should be return getContext().getSourcePageResolution(); since you are adding
errors ?
I have seen this stack trace at random points in the past but never frequent
enough to actually do anything about it. I haven't seen it pop up for several
months.
From: CN Yee [mailto:yeec...@gmail.com]
Sent: Friday, March 20, 2009 7:24 AM
To: stripes-users@lists.sourceforge.net
Subject: Re: [Stripes-users] Problems with @ValidationMethod
Hi Marcus,
What I did was like the following, syntax could be a bit off:
public Resolution save() {
... check for error...
if (errorFound) {
SimpleError error = new SimpleError("Error found!");
getContext().getValidationErrors().addGlobalError(error);
SimpleMessage msg = new SimpleMessage("Double check");
getContext().getMessages.add(msg);
return new ForwardResolution(VIEW);
}
...
}
Sorry I am using gmail to post the reply - I could not figure out how to place
my message under yours.
Regards,
Yee
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users