Re: FormComponentPanel & onchange Events

2012-12-15 Thread William Speirs
I finally got some time to test a few combinations: - onchange for panel, getRawInput() = null - onblur for panel = event never fires - onchange for field, getRawInput() = null - onchange for field, getModelObject() = null - same combinations as above but with AjaxFormComponentUpdatingBehavior;

RE: FormComponentPanel & onchange Events

2012-12-12 Thread Colin Rogers
William, Is the AjaxEventBehavior added to the panel or the component? What event is it fired on? I'd thought you'd need it to be added to the component (rather than panel) and say, triggered 'onblur'. And using a AjaxFormComponentUpdatingBehavior rather than AjaxEventBehavior? Can you post t

RE: FormComponentPanel & onchange Events

2012-12-12 Thread Chris Colman
The model objects are only updated after form submission and submission will only happen if successful validation has occurred. If you are expecting to copy values from one field to another without performing form submission then you can't extract the values from the model objects. I think what y