cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eirik Bjørsnøs <>
Subject Loading a form from a DOM tree
Date Thu, 11 Nov 2004 08:38:41 GMT

Hello Cocoon developers,

Would it be possible to load a form from a DOM tree instead of from a 
uri using the javascript flow api?

I'm creating a multiform wizard using Cocoon Forms and would like to 
put all the form definitions inside the same wizard.xml file.

DefaultFormManager has  a createForm(Element formElement) method, but 
Form.js does not seem to support it. You can only do like this:

var form = new Form(formUri);

not like this:

var form = new Form(formElement);

Looking forward to hearing your opinion.

Best regards.

View raw message