cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Initializing multi-value checkbox selections
Date Thu, 08 May 2008 13:51:30 GMT
Using Cocoon 2.1.8

I am struggling to get a multi-value form widget to show
items as "checked".   The form definition looks like this:

<fd:multivaluefield id="aMulti">
  <fd:datatype base="string"/>
    <fd:item value="bike" checked="true"><fd:label>Bike</fd:label></fd:item>
    <fd:item value="car" checked="true"><fd:label>Car</fd:label></fd:item>

but the resulting form does not show any items as checked.

I do not have the same problem with radio boxes; eg.
<fd:field id="aRadio">
  <fd:label>1.1 Age:</fd:label>
  <fd:datatype base="string"/>
    <fd:item value="under 25" checked="true"><fd:label>under 25</fd:label></fd:item>
    <fd:item value="over 25" ><fd:label>over 25</fd:label></fd:item>

shows up just fine.

Is this is a syntax issue?  (The above also applies if I use checked="checked").


This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message