You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ayodeji Aladejebi <al...@gmail.com> on 2010/02/25 00:07:17 UTC
Form Components
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
Re: Form Components
Posted by Ayodeji Aladejebi <al...@gmail.com>.
RadioChoice.setSuffix(); solved it
On Thu, Feb 25, 2010 at 12:29 AM, Ayodeji Aladejebi <al...@gmail.com> wrote:
> it does it for radioChoices only i think
>
>
> On Thu, Feb 25, 2010 at 12:22 AM, Ayodeji Aladejebi <al...@gmail.com> wrote:
>> 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 <ig...@gmail.com> 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 <al...@gmail.com> 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: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Form Components
Posted by Ayodeji Aladejebi <al...@gmail.com>.
it does it for radioChoices only i think
On Thu, Feb 25, 2010 at 12:22 AM, Ayodeji Aladejebi <al...@gmail.com> wrote:
> 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 <ig...@gmail.com> 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 <al...@gmail.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Form Components
Posted by Ayodeji Aladejebi <al...@gmail.com>.
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 <ig...@gmail.com> 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 <al...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Form Components
Posted by Igor Vaynberg <ig...@gmail.com>.
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 <al...@gmail.com> 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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org