You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Hoofe <ko...@hoofe.de> on 2003/10/27 10:40:00 UTC
Retrieving values from a multivaluefield
How do I retrieve values from multivaluefield like this in a flow script ?
<wd:multivaluefield id="color">
<wd:label>Color:</wd:label>
<wd:datatype base="string">
</wd:datatype>
<wd:selection-list>
<wd:item value="Blue"/>
<wd:item value="Red"/>
<wd:item value="Green"/>
</wd:selection-list>
</wd:multivaluefield>
Flow script:
function formColor()
{
var model = frmColorItem.getModel();
var frmRet = frmColorItem.showForm("display-form-color-item");
var red = model.color... ???
}
Flow is great, Woody will be too. Now a application development with Cocoon is
possible.
Thanks to everybody
Christian
___________________________
Christian Hoofe
Wittelsbacherstr. 3
D 10707 Berlin
Email kontakt@hoofe.de
___________________________
___________________________
Christian Hoofe
Wittelsbacherstr. 3
D 10707 Berlin
Tel +49 30 887 290 33
Fax +49 30 887 290 32
Mobil +49 179 12 98 470
Email kontakt@hoofe.de
___________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org