> -----Original Message----- > From: jantje [mailto:[EMAIL PROTECTED] > Sent: vrijdag 22 augustus 2008 14:18 > To: [email protected] > Subject: generate form_definition > > > Hi there, I have variable data which I want to display in a form. > > A form has a form_template and a form_definition. The > form_template is generated in the sitemap: there I am able to > generate the content like I need. > > The form_definition is called from the flowscript: > var form = new > Form("cocoon://resources/internal/test_definition.xml"); > > Is it possible to not just call this file > (test_definition.xml) but generate it?
Yes you can, just handle the uri in a different way in your sitemap. Not by a reader but generate-(transform-)serialize. Jasha Joachimsthal www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
