Jean-Baptiste Quenot Escribio :-)
> Have you tried:
>
> var cont = cocoon.sendPage("done")
> cont.invalidate()
Hi.
That do not work because cocoon.sendPage no return a WebContinuation
Object.
I think you need invalidate the WebContinuation of the form.showForm
for example:
var kont = form.showForm("create-form-display");
form.save(bean);
// Make changes in the database
insert(bean);
kont.invalidate();
cocoon.sendPage("/page");
in that way although you reload the page the WebContinuation is invalid
and the "insert(bean)" code is not executable.
Cheers,
> --
> Jean-Baptiste Quenot
> Anyware Technologies
> http://www.anyware-tech.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Carlos Ch�vez
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]