You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by rjilani <ji...@lifebiosystems.com> on 2009/03/05 18:15:14 UTC
Is this a bug in Wicket?
Hi: Gurus, I am trying to render a form and looks like wicket is not
rendering the form elements in right sequence, here is my markup that is
having the issues
<tr>
<td>Search feed by name:</td>
<td><input type="text" wicket:id="feedName"/></td>
</tr>
<tr>
<td><input type="radio" /> Match all
conditions</td>
<td><input type="radio" /> Match any
conditions</td>
<td><input type="radio" /> Match all news </td>
</tr>
here is the java code
add(new TextField("feedName", new Model()));
add(new RadioChoice("conditionChoice", new
Model(),conditionChoices ).setSuffix(""));
when I run the code I see the radio button choices before the text field;
any suggestions?
Thanks,
RJ.
--
View this message in context: http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356116.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Is this a bug in Wicket?
Posted by Cristiano Kliemann <cr...@gmail.com>.
Where is the 'conditionChoice' in the markup?
On Thu, Mar 5, 2009 at 2:15 PM, rjilani <ji...@lifebiosystems.com> wrote:
>
> Hi: Gurus, I am trying to render a form and looks like wicket is not
> rendering the form elements in right sequence, here is my markup that is
> having the issues
>
> <tr>
> <td>Search feed by name:</td>
> <td><input type="text" wicket:id="feedName"/></td>
> </tr>
>
> <tr>
>
> <td><input type="radio" /> Match all
> conditions</td>
> <td><input type="radio" /> Match any
> conditions</td>
> <td><input type="radio" /> Match all news </td>
>
> </tr>
>
>
> here is the java code
>
> add(new TextField("feedName", new Model()));
>
> add(new RadioChoice("conditionChoice", new
> Model(),conditionChoices ).setSuffix(""));
>
> when I run the code I see the radio button choices before the text field;
> any suggestions?
>
> Thanks,
> RJ.
> --
> View this message in context:
> http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356116.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Is this a bug in Wicket?
Posted by Eduardo Nunes <es...@gmail.com>.
I understand what Mr. Mattler said but is it correct from the HTML
point of view? Anybody knows what the HTML specification says about
it?
On Thu, Mar 5, 2009 at 2:49 PM, rjilani <ji...@lifebiosystems.com> wrote:
>
> Mattler thanks for the tip, It did work like a charm, but I am bit confuse
> about this behavior.
>
> Regards,
> RJ.
>
>
> rmattler wrote:
>>
>> Don't put the <input type="radio" /> in a <td>.
>>
>> Should be:
>>
>>
>>
>> <tr>
>> <td>Search feed by name:</td>
>> <td><input type="text" wicket:id="feedName"/></td>
>> </tr>
>>
>> <tr>
>> <td>
>>
>> <input type="radio" /> Match all
>> conditions>
>> <input type="radio" /> Match any
>> conditions>
>> <input type="radio" /> Match all news
>>
>> </td>
>> </tr>
>>
>>
>>
>>
>> rjilani wrote:
>>>
>>> Hi: Gurus, I am trying to render a form and looks like wicket is not
>>> rendering the form elements in right sequence, here is my markup that is
>>> having the issues
>>>
>>> <tr>
>>> <td>Search feed by name:</td>
>>> <td><input type="text"
>>> wicket:id="feedName"/></td>
>>> </tr>
>>>
>>> <tr>
>>>
>>> <td><input type="radio" /> Match all
>>> conditions</td>
>>> <td><input type="radio" /> Match any
>>> conditions</td>
>>> <td><input type="radio" /> Match all news </td>
>>>
>>> </tr>
>>>
>>>
>>> here is the java code
>>>
>>> add(new TextField("feedName", new Model()));
>>>
>>> add(new RadioChoice("conditionChoice", new
>>> Model(),conditionChoices ).setSuffix(""));
>>>
>>> when I run the code I see the radio button choices before the text field;
>>> any suggestions?
>>>
>>> Thanks,
>>> RJ.
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356811.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: Is this a bug in Wicket?
Posted by rjilani <ji...@lifebiosystems.com>.
Mattler thanks for the tip, It did work like a charm, but I am bit confuse
about this behavior.
Regards,
RJ.
rmattler wrote:
>
> Don't put the <input type="radio" /> in a <td>.
>
> Should be:
>
>
>
> <tr>
> <td>Search feed by name:</td>
> <td><input type="text" wicket:id="feedName"/></td>
> </tr>
>
> <tr>
> <td>
>
> <input type="radio" /> Match all
> conditions>
> <input type="radio" /> Match any
> conditions>
> <input type="radio" /> Match all news
>
> </td>
> </tr>
>
>
>
>
> rjilani wrote:
>>
>> Hi: Gurus, I am trying to render a form and looks like wicket is not
>> rendering the form elements in right sequence, here is my markup that is
>> having the issues
>>
>> <tr>
>> <td>Search feed by name:</td>
>> <td><input type="text"
>> wicket:id="feedName"/></td>
>> </tr>
>>
>> <tr>
>>
>> <td><input type="radio" /> Match all
>> conditions</td>
>> <td><input type="radio" /> Match any
>> conditions</td>
>> <td><input type="radio" /> Match all news </td>
>>
>> </tr>
>>
>>
>> here is the java code
>>
>> add(new TextField("feedName", new Model()));
>>
>> add(new RadioChoice("conditionChoice", new
>> Model(),conditionChoices ).setSuffix(""));
>>
>> when I run the code I see the radio button choices before the text field;
>> any suggestions?
>>
>> Thanks,
>> RJ.
>>
>
>
--
View this message in context: http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356811.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Is this a bug in Wicket?
Posted by rmattler <Ro...@gmail.com>.
Don't put the <input type="radio" /> in a <td>.
Should be:
<tr>
<td>Search feed by name:</td>
<td><input type="text" wicket:id="feedName"/></td>
</tr>
<tr>
<td>
<input type="radio" /> Match all
conditions>
<input type="radio" /> Match any
conditions>
<input type="radio" /> Match all news
</td>
</tr>
rjilani wrote:
>
> Hi: Gurus, I am trying to render a form and looks like wicket is not
> rendering the form elements in right sequence, here is my markup that is
> having the issues
>
> <tr>
> <td>Search feed by name:</td>
> <td><input type="text" wicket:id="feedName"/></td>
> </tr>
>
> <tr>
>
> <td><input type="radio" /> Match all
> conditions</td>
> <td><input type="radio" /> Match any
> conditions</td>
> <td><input type="radio" /> Match all news </td>
>
> </tr>
>
>
> here is the java code
>
> add(new TextField("feedName", new Model()));
>
> add(new RadioChoice("conditionChoice", new
> Model(),conditionChoices ).setSuffix(""));
>
> when I run the code I see the radio button choices before the text field;
> any suggestions?
>
> Thanks,
> RJ.
>
--
View this message in context: http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356561.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Is this a bug in Wicket?
Posted by Igor Vaynberg <ig...@gmail.com>.
you have two tds in your first tr, but 3 in your next one.
also wicket just generates the html, how the browser renders it is not
dependent on wicket.
-igor
On Thu, Mar 5, 2009 at 9:15 AM, rjilani <ji...@lifebiosystems.com> wrote:
>
> Hi: Gurus, I am trying to render a form and looks like wicket is not
> rendering the form elements in right sequence, here is my markup that is
> having the issues
>
> <tr>
> <td>Search feed by name:</td>
> <td><input type="text" wicket:id="feedName"/></td>
> </tr>
>
> <tr>
>
> <td><input type="radio" /> Match all
> conditions</td>
> <td><input type="radio" /> Match any
> conditions</td>
> <td><input type="radio" /> Match all news </td>
>
> </tr>
>
>
> here is the java code
>
> add(new TextField("feedName", new Model()));
>
> add(new RadioChoice("conditionChoice", new
> Model(),conditionChoices ).setSuffix(""));
>
> when I run the code I see the radio button choices before the text field;
> any suggestions?
>
> Thanks,
> RJ.
> --
> View this message in context: http://www.nabble.com/Is-this-a-bug-in-Wicket--tp22356116p22356116.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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