Re: FormComponentPanel's components onblur can't call validate?

2010-06-02 Thread Steve Mactaggart
Sorry to dredge up this thread again,but I have the same issue. I have a form that has a hidden id and a text field that is a "search" box for elements. I have got all the client side javascript working so that the name and Id are updated in the page, and also have it doing the convertInput corre

Re: FormComponentPanel's components onblur can't call validate?

2010-03-10 Thread Cemal Bayramoglu
Tony, If you don't mind submitting the whole form add "AjaxFormSubmitBehavior"s to the appropriate child components . Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 9 March 2010 23:52, Tony Wu wrote: > I have a FormComponentPane

Re: FormComponentPanel's components onblur can't call validate?

2010-03-09 Thread Igor Vaynberg
the behavior is attached to the child form component, why would it call validate on the parent? you will have to do that yourself. -igor On Tue, Mar 9, 2010 at 3:52 PM, Tony Wu wrote: > I have a FormComponentPanel which holds 3 dropdowns for month-day-year (it's > a birthday FormComponentPanel).

FormComponentPanel's components onblur can't call validate?

2010-03-09 Thread Tony Wu
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 sub