Vasyl Stashuk wrote:

Marc Portier wrote:


hm, pls explain why you would want to do that, since you will break away from the most important pleasures of flowscript!


Consider following example. Our form has repeat widget with some item list and additional fields for adding items (i.e. item name and submit button).
User wants to add new item. She enters name and presses the button. Form become redisplayed and new item appear in the list. If user press 'Refresh'
button on the browser for some reason, a new request for item addition will be sent. I wan't to avoid it. For this purpose, i want to handle business logic
of adding new user to the list in separate HTTP request, than rendering form view.



Vasyl,


I'm not completely sure about this

I did try hitting refresh on the woody form2 sample after adding a row to the repeater and the problem is not showing there, so maybe your problem can be solved by more closely following the pattern offered there?

regards,
-marc=

<snip />


Can I store continuation id in session?




I would strongly advise against doing that.


-marc=
--
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]                              [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to