I would like to use an image as the label for an item in a CForm
selection list that is styled as radio buttons.
None of the examples in the docs I have seen maps exactly to this. I
have succeeded in getting an image to appear in a form, but not in place
of a label in the radio list.
Ideas?
<fd:field id="elements">
<fd:label>Choose one of the following:</fd:label>
<fd:datatype base="string"/>
<fd:selection-list>
<fd:item value="0"></fd:item>
<fd:item value="1"></fd:item>
<fd:item value="2"></fd:item>
<fd:item value="3"></fd:item>
<fd:item value="4"></fd:item>
</fd:selection-list>
</fd:field>
<ft:form-template action="#{$cocoon/continuation/id}.continue"
method="POST">
<ft:widget-label id="elements"/>
<ft:widget id="elements">
<fi:styling list-type="radio"/>
</ft:widget>
<input type="submit"/>
</ft:form-template>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]