Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-10 Thread Jeremy2009
Hi Martijn, So the only solution is to move the inner forms to be no longer 'inner'? Thanks J Jeremy2009 wrote: Hi Martijn, Thanks for your super-fast reply. According to the Wicket Ajax Debugger, it says INFO: focus set on userTagsCons144 - which is the 2nd inner form's text field.

Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Jeremy2009
Hi, I have searched theforums for a similar situation but can't seem to find anything. I have a complicated panel that consists of an outer form that contains 2 inner forms: a) The outer form has an AjaxSubmitLink with an onSubmit() that gets fired as expected. b) Each inner form has its own

Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Martijn Dashorst
According to me this is a browser thing, nothing Wicket can do anything about (without registering which field has focus, and sending that with the form, detecting that the default submit was triggered by pressing enter, figuring out which form was actually meant, etc. Martijn On Wed, Jan 7,

Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Jeremy2009
Hi Martijn, Thanks for your super-fast reply. According to the Wicket Ajax Debugger, it says INFO: focus set on userTagsCons144 - which is the 2nd inner form's text field. On clicking 'enter', is the Ajax javascript able to check which form-related object has the current focus and therefore