I have a FormComponentPanel which holds 3 dropdowns for month-day-year (it's
a birthday FormComponentPanel). I override convertInput on the
FormComponentPanel to return the age based on the 3 drop downs. I have an
age validator which makes sure they're over 18.

Now, this all works fine on form submit (convertInput gets called and it
runs the validator).

But when I try to do it dynamically by attaching a onchange
AjaxFormUpdatingBehavior event to the 3 drop downs to call
FormComponentPanel.validate() (@Override onUpdate, and only when all 3 drop
downs are selected of course), I know the onchange triggers (because it's
@Override onUpdate runs - had a system.out.println which runs), but the
validate() function doesn't run the age validator. It actually *never even
calls convertInput* on the FormComponentPanel. Any ideas?

Reply via email to