Hi Yee,

CN Yee wrote:
> 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);
>     }
>     ...
> }

that's almost my code. The only difference: I am using a LocalizedError.
Strange enough that this works for me, but not for you.

Sorry, but I have no idea why our code behaves different :-(

Greetings
Marcus



------------------------------------------------------------------------------
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

Reply via email to