[ http://mc4j.org/jira/browse/STS-413?page=comments#action_10788 ] Iwao AVE! commented on STS-413: -------------------------------
I have confirmed this affects on a non-wizard action bean as well. If there is a check box on a edit page, the value of the corresponding action bean property is set to false after redirection. Now the priority of this issue should be raised to Major, I think. > When a wizard action bean is stored in flash scope and redirected to itself, > fields of the bean are set to null after redirection. > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: STS-413 > URL: http://mc4j.org/jira/browse/STS-413 > Project: Stripes > Issue Type: Bug > Components: ActionBean Dispatching > Affects Versions: Release 1.4.3 > Environment: Tomcat 5.5.23, Java 1.5.0_12 > Reporter: Iwao AVE! > Assigned To: Tim Fennell > Priority: Minor > > Assuming we have an action bean annotated as @Wizard. > When a user completes all the steps in the wizard, the bean stores data into > database and redirects to a confirmation screen. > The event handler may look like this. > public Resolution store() > { > // update database > return new RedirectResolution(this.getClass(), "confirm").flash(this); > } > The bean is flashed and restored correctly after the redirection. > But then, field values are set to null in > DefaultActionBeanPropertyBinder#bindMissingValuesAsNull() method because > there is a '__fp' parameter in the restored request. > Please see the following thread for an example code and a few work-arounds. > http://www.nabble.com/Flash-scope-and-Wizard-action-beans---BUG--tf4312150.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
