meduolis wrote:
>
> 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
> }
> });
>
>
Thanks for your reply. I tried your suggestion, but Wicket still wrote an
Ajax call for the onblur event. I would like to eliminate that call.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-Question-tp2968982p2969030.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]