cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew <andrewm...@gmail.com>
Subject Re: checkbox widget with datatype vector
Date Sun, 23 Jul 2006 18:34:46 GMT
Hi Jason,

<fd:selection-list type="flow-jxpath"
>      list-path="neworder/orderItems" value-path="ID"
>      label-path="(optional path to display label)" />


how do I manage to avoid having to use the label-path attribute? Anytime I
try to keep it out I get an eror message saying that it is required! With it
in I get a selection list instead of check boxes. My widget code is as
follows:
widget:

     <ft:widget id= "delItem">
       <fi:styling type="checkbox"/>
     </ft:widget>

validation:

    <fd:multivaluefield id="delItem">
      <fd:datatype base="string"/>
      <fd:selection-list type="flow-jxpath" list-path="neworder/orderItems"
value-path="ID" />
    </fd:multivaluefield>

regards

Andrew

Mime
View raw message