cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: FOM_WebContinuation
Date Wed, 21 Jan 2004 20:01:54 GMT
Hunsberger, Peter wrote:

>Vadim Gritsenko <vadim@reverycodes.com> writes:
>  
>
>>Also, one more method is needed:
>>  * addChild(FOM_WebContinuation)
>>
>>To answer a question why it is needed: you need it to stitch together 
>>different part of the multi-form application, so you can 
>>invalidate all 
>>of them at once by invalidating the very first, root, continuation.
>>    
>>
>
>Ahh, good we need this, can you tell me how this will work? Example code
>perhaps?
>


var root = ... // Create root
root.addChild(new Form("form1.xml").showForm("form1.display", bizData));
...
root.addChild(new Form("formN.xml").showForm("formN.display", bizData));
root.invalidate();

That's the idea. Add form.load(), form.save() as needed.


Vadim


Mime
View raw message