OnChange Ajax inside form within form?

2011-06-06 Thread Neil Curzon
Hi users! Using wicket 1.4.17. I have a relatively large form. Inside this form, there's going to be a readonly text field that is actually populated by using a popup dialog, which opens a div with an ajax interface to navigate some entities in our system. The thing is, inside the entity

Re: OnChange Ajax inside form within form?

2011-06-06 Thread Pedro Santos
Hi Neil, already Wicket prevents nested form tag by changing inner form tag by div one. I guess you need to change the AjaxFormSubmitBehavior to AjaxFormComponentUpdatingBehavior to handle the onchange event. On Mon, Jun 6, 2011 at 4:43 PM, Neil Curzon neil.cur...@gmail.com wrote: Hi users!

Re: OnChange Ajax inside form within form?

2011-06-06 Thread Neil Curzon
Hi Pedro, Thanks for the reply. Actually I figured out the issue was that the outer form wasn't wicketized yet, so wicket couldn't figure it out (converting legacy pages). AjaxFormSubmitBehavior still worked in my case. Neil On Mon, Jun 6, 2011 at 4:17 PM, Pedro Santos pedros...@gmail.com