On Fri, 2004-08-20 at 15:22, Jorg Heymans wrote:
> ugh how obvious, thanks Bruno.
>
> Actually I don't think i need continuations for my usecase, and I read
> about the difference between sendPage() and showForm().
>
> So i changed the showForm call to
> cocoon.sendPage("display", {"CocoonFormsInstance": form});
>
>
> and i'm getting a classcastexception at
<snip/>
this is because CocoonFormsInstance must point to the java form object,
not its javascript wrapper. Using form.form should work.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]