Hi all!
I have two functions that handle two corresponding pipelines. They use the
same form model, template and binding definitions and the same pipeline to
show the form (please, see attached files for details). The frist function
works almost as expected but the second one fails when it wha
Hi,
I want to continuously display a form (the submit results are in another
frame), saving the widgets' state in between submits.
so i do
while(true){
var form = new Form(...);
form.showForm("blabla");
//some call here to save the forms state to itself
}
Which method call am I missing? I a
On Fri, Jul 23, 2004 at 04:41:36PM +0400, Timur Izhbulatov wrote:
Sorry, some attachments have been deleted. Here they are:
//-
//client.js:
//--
cocoon.load("flow/common/document.js");
cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");
// var pipelineUtil
On Fri, 2004-08-20 at 14:35, Jorg Heymans wrote:
> Hi,
>
> I want to continuously display a form (the submit results are in another
> frame), saving the widgets' state in between submits.
>
> so i do
>
> while(true){
>var form = new Form(...);
>form.showForm("blabla");
>
>//some ca
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
at
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", {"CocoonFor