http://tapestry.apache.org/tapestry4.1/components/form/fieldlabel.html
explains this

On Thu, Feb 28, 2008 at 5:05 PM, Andy Pahne <[EMAIL PROTECTED]> wrote:
>
>  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]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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

Reply via email to