Alan Burlison wrote: > Yes, that's the problem. I tried setting the flash scope to null on the > RedirectResolution to stop it, but that just causes a NPE.
Found the cause: calling ctx.getMessages() or ctx.getValidationErrors() triggers the creation of the Flash Scope even if no messages or errors are subsequently added to them. I was fetching these at the top of the action and assigning them to a variable, then using them in the message & error handling code later on in the method. I think there's a possible RFE here: Flash Scope should not be saved unless it is non-empty. Thoughts? -- Alan Burlison -- ------------------------------------------------------------------------- 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
