Jorge,
My mistake... you pass the object to the showForm method...
var form = new Form("your-form-definition-file");
form.showForm("your-form-template-file", {"col1": collection_1, "col2": collection_2"});
Robin
On 14 Mar 2005, at 20:35, Jorge Davila wrote:
Well ... I put the code:
var form = new Form("your-form-definition-file", {"col1": collection_1, "col2": collection_2"});
after the calls to fill the collections (in the flow script) and the multivalue fields are showed but they are empty :-(
El lun, 14-03-2005 a las 20:11 +0100, Robin Wyles escribió:Jorge,
When you create your form definition you can pass objects like this:
var form = new Form("your-form-definition-file", {"col1": collection_1,
"col2": collection_2"});
form.showForm("your-form-template-file");
The "col1" and "col2" are the names use to refer to the collections in your form definition.
Hope this helps...
Robin
On 14 Mar 2005, at 19:57, Jorge Davila wrote:
Sorry for my bad english ... the idea is call the form constructor and
pass to him two collections to fill two multivalue fields implemented
via flow-jxpath
El lun, 14-03-2005 a las 12:50 -0600, Jorge Davila escribió:Well...
I try two put two multivalue field in a form implemented using flow- jxpath ...
In the docs... the call to pass the collection to the form is:
form.showForm("new-sector", muns);
where "sector" is the name of the form (or his call in the sitemap)
and
muns is the collection that will fill a field (a multivalue field) as
has been described in the correspondent files.
My question:
How I can pass to the form two collection to fill to multivalue fields?
Best regards and thanks for your help.
Jorge Dávila.
-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]