[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: Struts 2 Testing - odd behaviour
From:       Maurizio Cucchiara <maurizio.cucchiara () gmail ! com>
Date:       2010-11-29 11:19:51
Message-ID: AANLkTinABb29yoVNd=-LVnFvRU4Gy0diMbCFzLjvFU-L () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic