On 7/12/07, Edi <[EMAIL PROTECTED]> wrote:


Hi!

I have one drop down like

<select><option>textbox</option><option>textarea</option></select>

in the above case, I have 2 items, 1.textbox 2.textarea.

If I select textbox, text box should be displayed below the combo box. If
I
select textarea, textarea should be displayed but textbox should be hided.

If I did not select anything, both textbox and textarea should be hided.

I have done using javascript. But I don't know how it is in Wicket?



simplest way to do this would be to add two wicket HiddenFields - one for
value of textbox and one for textarea, and then link them to the ones you
created in the javascript.

-igor

I am newbie. So please give me your suggestions.



Thanking You.

Regards,
Edi

--
View this message in context:
http://www.nabble.com/Regarding-onchange-DropDown-tf4072549.html#a11574089
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to