I have the same error, but the situation is a bit different. I'm posting an Ajax request to the action, there are some validation errors, and then Stripes returns this page. I understand why it happens, but how can I avoid it? Since it's an Ajax request, I only need the error messages to show them on screen using the Ajax callback.
Rusty Wright wrote: > Ok, thanks. > > > osagie uwaifo wrote: >> Rusty, >> The validation error report page appears when the _sourcePage >> parameter/attribute is not included in the request. Basically, >> when a validation error is thrown/recognized by stripes, >> getContext().getSourcePageResolution() is called to redirect the error >> messages to the calling page. if you use <s:form> , the _sourcePage >> parameter is is inlcuded. If you use <s:link>, you can add the >> _sourcePage parameter by setting the addSourcePage to the link tag. eg >> <s:link addSourcePage="true"/>. I hope that helps. >> >> Thanks, >> Osagie Uwaifo >> ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
