I put some debug statements in Form.java onFormSubmit(), figured out what the
issues was.

Not sure if it needs to be fixed in Wicket code, but here is the
explanation...

The page has a root form and multiple panels each with its own form. One of
the panels has fragment inside which it has a submitting button with image.
I used <button wicket:id> </button> as markup for that and corresponding
java code was new Button.add(new Image). Seems like findSubmittingButton in
Form.java returns this as a button submitted instead of the root form submit
button which was pressed, causing call to onsubmit etc of incorrect button,
thats why I didnt see the oonsubmit of the root form or the button.


igor.vaynberg wrote:
> 
> what do you expect the response to be? you have shown no code or
> anything for us to go on...
> 
> create a jira issue and attach a quickstart to it.
> 
> -igor
> 
> On Tue, Jul 29, 2008 at 8:53 AM, Ritesh Trivedi
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> No responses yet - anyone pointers on debugging the issue?
>>
>>
>> Ritesh Trivedi wrote:
>>>
>>> Hi,
>>>
>>> I am observing really weird behavior in IE7. I have nested forms on a
>>> page
>>> and a submit button on the outer most form (root form). In FF2 and FF3
>>> when I click submit button (input type="submit") it works fine, the form
>>> gets submitted and I see validation errors. But in IE, I dont see any
>>> validation errors. I am using plain required fields - no complicated
>>> validation. Seems like it doesnt even matter if I change the default
>>> form
>>> processing to false, neither buttons nor forms onsubmit() is getting
>>> called. But the URL is changing.
>>>
>>> Will appreciate any pointers.
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/IE-7-form-submission-issue-tp18703523p18715311.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/IE-7-form-submission-issue-tp18703523p18717678.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to