Igor,
this is my code:
<tr>
<td>
<div class="smallmenus"
style="color:#000; padding:3px;text-align:right;" >
Your Gender:
</div>
</td>
<td> <div class="smallmenus"
style="padding:4px; vertical-align:middle;" wicket:id="gender">
<input
name="radiobutton" type="radio" />
Male |
<input
name="radiobutton" type="radio" />
Female
</div>
</td>
</tr>
This is what wicket outputs
<tr>
<td>
<div class="smallmenus"
style="color:#000; padding:3px;text-align:right;" >
Your Gender:
</div>
</td>
<td> <div class="smallmenus"
style="padding:4px; vertical-align:middle;" wicket:id="gender"><input
name="gender" type="radio" value="0" id="gender9-0"/><label
for="gender9-0">Male</label><br />
<input name="gender" type="radio" value="1" id="gender9-1"/><label
for="gender9-1">Female</label><br />
</div>
</td>
</tr>
Just plain default wicket 1.4 code
On Thu, Feb 25, 2010 at 12:17 AM, Igor Vaynberg <[email protected]> wrote:
>
> so wicket adds this chunk "<label for="name">Name</label><br />"? i
> doubt wicket is doing that...maybe you have something in your code
> that does it.
>
> -igor
>
> On Wed, Feb 24, 2010 at 3:07 PM, Ayodeji Aladejebi <[email protected]>
> wrote:
> > I notice wicket is re-writing my HTML codes from
> >
> > Name <input wicket:id="name" type="text" /> to <input wicket:id="name"
> > type="text" /><label for="name">Name</label><br />
> >
> > and I dont want that transform to take place. how do I disable that
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]