Ben Gunter-2 wrote: > > One side effect of correcting that bug is that validation errors cannot be > carried over on a flash/redirect. If the validation errors were to carry > over and be added to the ActionBeanContext on the new request, they would > short-circuit the lifecycle and try to go back to the source page and > generally wreak havoc. We explored various ways to maintain that backward > compatibility, but it just wasn't possible.
Rats... that's a real pity for those of us who like to keep our JSPs under WEB-INF. Is there any reason you can't treat errors the same way you treat messages (throwing it into some kind of _SPECIAL_REQ_PARAM)? Also, I appreciate that you at least tried to maintain backwards compatibility... unlike some http://tapestryjava.blogspot.com/2008/07/making-java-ee-suck-less.html superannuated jerks I could mention. As much as you don't want to hear it, the best thing to do is forward > instead of redirect. If you need some input on how to accomplish what you > need to accomplish with a forward instead of a redirect, you can toss it > out > to the list for consideration. Won't this completely bypass any binding you might handle in a @Before/@After interceptor? Further, doesn't this make the Redirect-After-Post technique impossible? I suppose I'll end up using the messages to take errors as well until I can think of something better. Thanks for your help... -- View this message in context: http://www.nabble.com/Validation-errors-lost-on-Redirect-Resolution-to-ActionBean-tp18634092p18658902.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
