I thought IE's broken button behavior was already documented, including on the wiki?
d. --- "David Durham, Jr." <[EMAIL PROTECTED]> wrote: > > > Things like: > > > > > > <s:form action="MyAction.do"> > > > <s:submit type="button"/> > > > <s:submit type="button" action="MyAction!cancel" > value="Cancel"/> > > > </s:form> > > > > > > work for me in firefox, but don't seem to work > in IE. > > > > Could you provide the rendered HTML that works in > one browser but not the > > other? > > Sure. > > TestCancel.jsp > ------------------ > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 > Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <%@ taglib prefix="s" uri="/struts-tags"%> > > <html> > <head> > <title>Cancel Test</title> > </head> > <body> > <s:form action="TestCancel.do"> > <s:submit type="button" > action="TestCancel!submit" value="Submit"/> > <s:submit type="button" > action="TestCancel!cancel" value="Cancel"/> > </s:form> > </body> > </html> > > struts-config.xml > ---------------------- > <action name="TestCancel" > class="com.TestCancel"> > <result name="submit" > type="redirect">/TestCancel.jsp?cancelled=false</result> > <result name="cancel" > type="redirect">/TestCancel.jsp?cancelled=true</result> > </action> > > com.TestCancel > -------------------- > package com; > > public class TestCancel { > > public String submit() { > return "submit"; > } > > public String cancel() { > return "cancel"; > } > > } > > > Removing "type=button" will fix the IE issue. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]