Hi,

I wonder if I can submitt form during changing value in drop down choice?

Here is my code (placed constructor of form) in:
<code>
                savedSearchesChoice.add(new AjaxEventBehavior("onchange") {

                        private static final long serialVersionUID = 
-1564605902662264372L;

                        protected void onEvent(AjaxRequestTarget target) {
                                //here I want to submit form
                                setResponsePage(HomePage.class);

                        }
                });

                add(savedSearchesChoice);</code>

Please help ;-)
-- 
View this message in context: 
http://www.nabble.com/Submiting-form-when-changing-value-in-dropdownchoice-tp15398209p15398209.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to