cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: flowscript and reloading -> losing information
Date Wed, 26 May 2004 20:52:50 GMT
On 25.05.2004 11:00, Joose Vettenranta wrote:

> just noticed that if I reload a page which has got information from 
> previous page, that information is lost. Like something like this:
> 
>         do {
>          cocoon.sendPageAndWait ("firstpage");
>          firstname=cocoon.request.get ("fname");
>         } while (firstname=="");
>         cont=cocoon.sendPageAndWait ("secondpage", {"fname" : firstname});
>         cont.invalidate();
>         cocoon.sendPage ("end");
> 
> firstpage asks name..
> secondpage displays this information. If I make reload now, name 
> disappers..
> end -page displays something like "hello <name>".. and prevents 
> reloading of that page by doing invalidating that continuation.
> 
> question is: how can I prevent this (losing information when doing 
> reload when viewing "secondpage")?

AFAIU this should not happen at all. Is the above not that what 
continuations are about?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message