Hi!

I have been developing some wicket form pages and debugging them with Firefox.

Now I switched to internet explorer (IE) and noticed that Wicket
identifies the wrong submit button. My markup is as follows:

        <button class="textButton" wicket:id="addAttachment"><img
src="images/icon.gif" border="0" /></button>

When I debug Wicket's Form.findSubmittingButton() -method it's logic
is to determine the submitting button based on the parameter value
attached to the button's name. However, IE appears to submit the
contents of a <button>...</button> element regardless of which button
has been pressed:

getRequest().getParameter(submittingComponent.getInputName()) reads
"<IMG src="../images/icon.gif" border=0>"

It has been discussed here: http://www.peterbe.com/plog/button-tag-in-IE

Has anyone implemented the workarounds proposed therein into Wicket?

**
Martin

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

Reply via email to