Can anyone please have a look at this - not sure
what the real problem is (syntax? code?)
Thanks
Derek
>>> On 2008/05/08 at 03:51, in message <[EMAIL PROTECTED]>, "Derek Hohls"
>>> <[EMAIL PROTECTED]> wrote:
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:label>Transport</fd:label>
<fd:datatype base="string"/>
<fd:selection-list>
<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>
</fd:selection-list>
</fd:multivaluefield>
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:selection-list>
<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>
</fd:selection-list>
</fd:field>
shows up just fine.
Is this is a syntax issue? (The above also applies if I use checked="checked").
Thanks,
Derek
--
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
http://www.csir.co.za/disclaimer.html.
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
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
http://www.csir.co.za/disclaimer.html.
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]