cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Re: Apples block does not have sendPageAndWait
Date Fri, 01 Apr 2005 11:51:44 GMT
gkrishna wrote:
> The apples block does demonstrate the flow control even when a user with what if attitude
presses 'browser back button' or clone a page.
> there is no sendPageAndWait functionality in the Apples example
It only uses sendPage function.
> sendPage is used normally for terminating the flow. ie., user should not be able to change
the values of the shopping cart after the submit button is pressed. But the javascript does
the same through k.invalidate(), 
> but in java it is not the same case.
There is no sendPageAndWait in Apples because Apples flow controller is 
stateless. If you want to build stateful applications you have to manage 
state yourself and store the information in session for example.

Check out the hanoi tower example.

Leszek Gawron                                                 MobileBox                    

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message