I have added a AjaxFormComponentUpdatingBehavior to a DropDownChoice
component to process the "onchange" request. I would like to show an ajax
busy indicator while the request is processed. Any ideas?

AjaxFormComponentUpdatingBehavior updateBehavior = new
AjaxFormComponentUpdatingBehavior("onchange")
        {
            protected void onUpdate(AjaxRequestTarget target)
            {
                                //update the cities based on state change
                                if(logger.isDebugEnabled()){
                                        logger.debug("State selected : '" + 
event.getSt() + "'");
                                }
                                target.addComponent(cityChoice);
            }
        };      

stateChoice.add(updateBehavior);
-- 
View this message in context: 
http://www.nabble.com/busy-indicator-for-AjaxFormComponentUpdatingBehavior-tp17428154p17428154.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