I dont know if it works, but you can try to make a hack :)

endDateDropDown = new DropDownChoice<Date>("endDateDropDown", new
PropertyModel(viewHistoryCriteria, "endDate"),
ProcessDateContext.getSixtyDayRange());
endDateDropDown.add(new AjaxFormComponentUpdatingBehavior("onchange") {
        protected void onUpdate(AjaxRequestTarget target) {
                if (criteriaDropDown.isEnabled()) {
                        populateCriteriaDropdown(target);
                }
        }
});
endDateDropDown.add(new AjaxFormComponentUpdatingBehavior("onblur") {
        protected void onUpdate(AjaxRequestTarget target) {
                // do nothing
        }
});  
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-Question-tp2968982p2969013.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to