You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Edi <ed...@yahoo.com> on 2007/08/15 19:56:14 UTC

How to get the html combo value in wicket?


Hi,

I have ordinary html combo,

<select name="comboTxt">
<option value="one">One</option>
<option value="two">Two</option>
</select>

How can I get the html combo value using wicket.

if ordinary html text box <input type="text" name="txtbox"> means I can get
getRequest().getParameter("txtbox");

But In combo?
Please let me know.

Thanking You


-- 
View this message in context: http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12166949
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: How to get the html combo value in wicket?

Posted by Dipu Seminlal <di...@googlemail.com>.
the selected value will get attached to the model, please take a look at
FormInputExample in Wicket Examples.

-dipu

On 8/16/07, Edi <ed...@yahoo.com> wrote:
>
>
> My Question is how to get the html combo value using wicket methods?
>
>
>
>
> igor.vaynberg wrote:
> >
> > the final value is put into the model
> >
> > -igor
> >
> >
> > On 8/15/07, Edi <ed...@yahoo.com> wrote:
> >>
> >>
> >> any reply......
> >>
> >>
> >>
> >> Edi wrote:
> >> >
> >> >
> >> > Hi,
> >> >
> >> > I have ordinary html combo,
> >> >
> >> > <select name="comboTxt">
> >> > <option value="one">One</option>
> >> > <option value="two">Two</option>
> >> > </select>
> >> >
> >> > How can I get the html combo value using wicket.
> >> >
> >> > if ordinary html text box <input type="text" name="txtbox"> means I
> can
> >> > get getRequest().getParameter("txtbox");
> >> >
> >> > But In combo?
> >> > Please let me know.
> >> >
> >> > Thanking You
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12175034
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12177702
> 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: How to get the html combo value in wicket?

Posted by Edi <ed...@yahoo.com>.
My Question is how to get the html combo value using wicket methods?




igor.vaynberg wrote:
> 
> the final value is put into the model
> 
> -igor
> 
> 
> On 8/15/07, Edi <ed...@yahoo.com> wrote:
>>
>>
>> any reply......
>>
>>
>>
>> Edi wrote:
>> >
>> >
>> > Hi,
>> >
>> > I have ordinary html combo,
>> >
>> > <select name="comboTxt">
>> > <option value="one">One</option>
>> > <option value="two">Two</option>
>> > </select>
>> >
>> > How can I get the html combo value using wicket.
>> >
>> > if ordinary html text box <input type="text" name="txtbox"> means I can
>> > get getRequest().getParameter("txtbox");
>> >
>> > But In combo?
>> > Please let me know.
>> >
>> > Thanking You
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12175034
>> 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
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12177702
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: How to get the html combo value in wicket?

Posted by Igor Vaynberg <ig...@gmail.com>.
the final value is put into the model

-igor


On 8/15/07, Edi <ed...@yahoo.com> wrote:
>
>
> any reply......
>
>
>
> Edi wrote:
> >
> >
> > Hi,
> >
> > I have ordinary html combo,
> >
> > <select name="comboTxt">
> > <option value="one">One</option>
> > <option value="two">Two</option>
> > </select>
> >
> > How can I get the html combo value using wicket.
> >
> > if ordinary html text box <input type="text" name="txtbox"> means I can
> > get getRequest().getParameter("txtbox");
> >
> > But In combo?
> > Please let me know.
> >
> > Thanking You
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12175034
> 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: How to get the html combo value in wicket?

Posted by Gerolf Seitz <ge...@gmail.com>.
>
> The "combo" is called DropDownChoice in wicket. You can search the forum,
> wiki page or any other resource for examples..


if you need more control over the option tags, take a look at the classes
Select, SelectOption and SelectOptions in wicket-extensions

Re: How to get the html combo value in wicket?

Posted by Alex Objelean <al...@isdc.ro>.
The "combo" is called DropDownChoice in wicket. You can search the forum,
wiki page or any other resource for examples..


Edi wrote:
> 
> any reply......
> 
> 
> 
> Edi wrote:
>> 
>> 
>> Hi,
>> 
>> I have ordinary html combo,
>> 
>> <select name="comboTxt">
>> <option value="one">One</option>
>> <option value="two">Two</option>
>> </select>
>> 
>> How can I get the html combo value using wicket.
>> 
>> if ordinary html text box <input type="text" name="txtbox"> means I can
>> get getRequest().getParameter("txtbox");
>> 
>> But In combo?
>> Please let me know.
>> 
>> Thanking You
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12175868
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: How to get the html combo value in wicket?

Posted by Edi <ed...@yahoo.com>.
any reply......



Edi wrote:
> 
> 
> Hi,
> 
> I have ordinary html combo,
> 
> <select name="comboTxt">
> <option value="one">One</option>
> <option value="two">Two</option>
> </select>
> 
> How can I get the html combo value using wicket.
> 
> if ordinary html text box <input type="text" name="txtbox"> means I can
> get getRequest().getParameter("txtbox");
> 
> But In combo?
> Please let me know.
> 
> Thanking You
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-the-html-combo-value-in-wicket--tf4274630.html#a12175034
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