Hi, I've tried your code but everything works fine. Maybe your FF has an add-on that causes the problem ?
On Fri, Oct 6, 2017 at 1:21 PM, Chris Colman <[email protected]> wrote: > I also tried it without the leading 'on' in 'onchange' > > > -----Original Message----- > > From: Chris Colman [mailto:[email protected]] > > Sent: Friday, 6 October 2017 10:12 PM > > To: [email protected] > > Subject: AjaxFormComponentUpdatingBehavior not triggering ListChoice > model > > update in Firefox in Wicket 7.9.0 > > > > I have a ListChoice with a ProperyModel and I have added a > > AjaxFormComponentUpdatingBehavior to cause the model object to be > > updated 'live' (i.e. whenever the selection is changed rather than > > waiting for form submit) via: > > > > > > myListChoice.add(new > > AjaxFormComponentUpdatingBehavior("onchange") { > > @Override > > protected void onUpdate(AjaxRequestTarget target) > > { > > logger.info("Item changed"); > > } > > }); > > > > In all browsers the "Item changed" log entry occurs every time the > > selection in the ListChoice is changed. > > > > However in Firefox the model object is not updated to the latest > > selection while in Chrome and Edge this works perfectly. > > > > Am I doing anything wrong or is there something simple I can do to get > > it working in FireFox? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
