[ http://mc4j.org/jira/browse/STS-413?page=all ]

Ben Gunter resolved STS-413.
----------------------------

    Fix Version/s: Release 1.5
       Resolution: Fixed

Great! I'm closing this issue as fixed.

> 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
>             Fix For: Release 1.5
>
>         Attachments: 20070906_STS-413.patch
>
>
> 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

        

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to