With Ajax you should use (instead of onSelectionChanged) : 

myDropDown.add(new AjaxFormComponentUpdatingBehavior("onchange") {
            protected void onUpdate(final AjaxRequestTarget varTarget) {
                /* do you stuff here... */

                if (varTarget != null) {
                    /* update your components */
                    varTarget.addComponent(componenToUpdate);
                }
            }
}

Regards,

Gabriel.


Steve Flasby wrote:
> 
> 
> So, to handle a selection change I would normally use:
> 
> DropDownChoice::onSelectionChanged(){ return true; }
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax-%2B-DropDownChoice-%2B-ModalWindow-tp23292894p23298704.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