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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users