cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Hoofe" <kont...@hoofe.de>
Subject Retrieving values from a multivaluefield
Date Mon, 27 Oct 2003 09:40:00 GMT
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


Mime
View raw message