Hunsberger, Peter wrote:

Vadim Gritsenko <[EMAIL PROTECTED]> 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




Reply via email to