Also see

http://issues.apache.org/jira/browse/MYFACES-516

for Mario's workaround to preserve saveState and messages across redirects.

At some point we'd like to get something into MyFaces that can handle
this, but it's not currently possible yet.


On 1/10/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> Hi Thomas!
> > I would
> > not have expected the request scoped beans to survive between requests but I
> > would have expected the beans/properties serialized by the <t:saveState>
> > component to survive. I thought that <redirect> just updated the URL.
> >
> The "redirect" directs JSF to send a real http redirect response to the
> browser.
> The browser then will fetch the data from this new URL - so this is
> really a new request.
>
> After pressing a command button (or link) the following (very
> simplified) will happen:
>
> * browser requests url a
> * jsf executes your action
> * based on the result the navigation will be determined
> * jsf sends "redirect to url b"
> ---
> * browser REQUESTS url b
> * jsf loads view b
>
>
> Without <redirect
> * browser requests url a
> * jsf executes your action
> * based on the result the navigation will be determined
> * jsf loads view b
>
>
> Ciao,
> Mario
>
>

Reply via email to