struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <maurizio.cucchi...@gmail.com>
Subject Re: Struts 2 Testing - odd behaviour
Date Mon, 29 Nov 2010 11:19:51 GMT
Simply, the former renders a <input type="submit"> element, the latter
renders a <button type="submit">. They should be the same thing,
according to html 4.01 specification.
The point is that ie6 doesn't like button tag.

2010/11/29 RogerV <roger.varley@googlemail.com>:
>
>
>
> Maurizio Cucchiara wrote:
>>
>> You're right... there is something wrong in the way IE6 handles buttons.
>>
>> Why don't you simply use:
>>     <s:submit type="submit" value="Next"/>
>>     <s:submit type="submit" value="Menu" method="menu"/>
>>
>
> Thanks for the confirmation Maurizio, I thought I was going mad. Your
> suggestion works, my app is now behaving itself on IE6 as well. Since your
> solution renders as a button anyway in IE6, IE7, IE8, Firefox and Chrome,
> does anyone know what the point of <s:submit type="button"> is? (It also
> might be worth a mention in the tag reference as well)
>
>
> Regards
> --
> View this message in context: http://old.nabble.com/Struts-2-Testing---odd-behaviour-tp30308915p30328991.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message