I have two form fields with corresponding labels:

 <input jwcid="[EMAIL PROTECTED]"
     value="ognl:searchForHotels"
     displayName="literal:Hotels"
     size="3"
     class="inputsmall"/>
 <label jwcid="@FieldLabel"
     field="component:doHotelSearchCheckbox">Hotels</label>

<input jwcid="[EMAIL PROTECTED]"
       value="ognl:searchForHolidayHomes"
       displayName="literal:Ferienhäuser/wohnungen"
       size="3"
       class="inputsmall"/>
<label jwcid="@FieldLabel"
   field="component:doHolidayHomeSearchCheckbox">XXX</label>




The genarated output looks like that:

    <input type="checkbox" name="doHotelSearchCheckbox"
       id="doHotelSearchCheckbox" class="inputsmall" size="3" />
    <label for="doHotelSearchCheckbox_0">Hotels</label>


    <input type="checkbox" name="doHolidayHomeSearchCheckbox"
        checked="checked" id="doHolidayHomeSearchCheckbox"
        class="inputsmall" size="3" />
<label for="doHolidayHomeSearchCheckbox_0">Ferienhäuser/wohnungen</label>


The ids in the for attribute don't match those ids of the for fields.

Am I wrong here or is that a bug?


Andy






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to