cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Trillaud" <ltrill...@jouve.fr>
Subject Persistance Storage with XMLForm and Flowscript?
Date Wed, 16 Apr 2003 14:02:22 GMT
Hi,
I'm using XMLForm with Flowscript as describe in the cocoon
samples/xmlform/flow.
But I would like to implement persistence storage: to retrieved
information from a file system or a database to populate the form and to
save it when the wizard finish.
With the flowscript version of the XMLForm, the Model is handle in
javascript with this few line

... sniplet
    var bean = {
        firstName: "Donald",
        lastName: "Duck",
    }
    xform.setModel ( bean );
... /sniplet

How can I give a DOM to the setModel function?
Thanks in advance
Laurent Trillaud


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message