Andrew wrote:
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!
Sorry, I thought it was optional. But no big deal, just set it to the
same as your value-path.
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>
Check the docs:
http://cocoon.apache.org/2.1/userdocs/widgets/widget_multivaluefield.html
Should be list-type="checkbox".
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]