Ajax Update failing because of model

2014-03-03 Thread Hobbes00uk
I have a text-field component that has an AjaxFormComponentUpdatingBehavior("onchange") behaviour attached. I've hived it off into a separate component as I'm reusing it in various places across my app. Everything works fine most of the time, but I've discovered that on a particular page it doesn'

Re: Validators in Wicket 6

2012-11-30 Thread Hobbes00uk
> > You would't ;). > All vars of error messages are converted, it just happens that the label > is one of them. > We might want to shortcut this by checking the type of the variable if > it's already a String (before trying to convert it). > > Hope this helps It does and thank you for taking the

Validators in Wicket 6

2012-11-29 Thread Hobbes00uk
I'm hoping someone can help me with my understanding. I've been updating my website to Wicket 6. In doing that the DateConverter I was applying to a field has started throwing a class cast exception. After some work, I made the problem go away, by checking the class parameter in the over-ridden ge