cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.D. Williams" <>
Subject Image in a CForm radio list
Date Sat, 19 May 2007 16:04:08 GMT
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.


    <fd:field id="elements">
      <fd:label>Choose one of the following:</fd:label>
      <fd:datatype base="string"/>
        <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>

    <ft:form-template action="#{$cocoon/continuation/id}.continue" 
      <ft:widget-label id="elements"/>
      <ft:widget id="elements">
        <fi:styling list-type="radio"/>
      <input type="submit"/>

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

View raw message