Re: AjaxFormComponentUpdatingBehavior not triggering ListChoice model update in Firefox in Wicket 7.9.0

2017-10-06 Thread Andrea Del Bene
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 wrote: > I also tried it without the leading 'on' in 'onchange' > > > -Original Message- > > From: Chris Colman [mailto:chr...@stepahead

RE: AjaxFormComponentUpdatingBehavior not triggering ListChoice model update in Firefox in Wicket 7.9.0

2017-10-06 Thread Chris Colman
I also tried it without the leading 'on' in 'onchange' > -Original Message- > From: Chris Colman [mailto:chr...@stepaheadsoftware.com] > Sent: Friday, 6 October 2017 10:12 PM > To: users@wicket.apache.org > Subject: AjaxFormComponentUpdatingBehavior not triggering ListChoice model > update

AjaxFormComponentUpdatingBehavior not triggering ListChoice model update in Firefox in Wicket 7.9.0

2017-10-06 Thread Chris Colman
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")

Re: Odd Requirement

2017-10-06 Thread Bas Gooren
Hi, Sounds like you need a decorator for all of your validators, which runs the wrapped validator (or not) based on a flag. This is a possible implementation: E.g. enum ValidationMode { Format, Full } class ModeDependantValidatorDecorator implements IValidator { IValidator wrapped; IModel mode