I am right now struggling to find the cause of this strange error, spangly the OnChangeAjaxBehavior() is executed only once on first change, subsequent changes do nothing.
private final IModel<Date> datamodel= new Model<Date>(new Date()); private void addDateSelection(Form<?> filterForm) { final DateTextField df= new DateTextField("snapshot.date", datamodel,new StyleDateConverter("S-", true)) { private static final long serialVersionUID = 1L; @Override public Locale getLocale() { return Locale.getDefault(); } }; df.add(new DatePicker()); filterForm.add(df); df.add(new OnChangeAjaxBehavior() { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { //do something } }); } thanks and please excuse typos. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/stange-error-OnChangeAjaxBehavior-executed-only-once-tp4653798.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org