[ 
http://www.stripesframework.org/jira/browse/STS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12180#comment-12180
 ] 

Walter Rumsby commented on STS-420:
-----------------------------------

Actually, there are some issues with the <button> element in Internet Explorer 
6 that might mean that changing what is generated by the <stripes:*> tags isn't 
an attractive option - 
http://allinthehead.com/retro/330/coping-with-internet-explorers-mishandling-of-buttons

Looking back at this issue, if I now wanted to solve the problem I initially 
described I'd probably rely on a JavaScript framework, e.g. YUI 2's Button 
Utility - http://developer.yahoo.com/yui/button/

> <stripes:button> Should Generate button Elements Rather Than input 
> type="button" Elements
> -----------------------------------------------------------------------------------------
>
>                 Key: STS-420
>                 URL: http://www.stripesframework.org/jira/browse/STS-420
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.4.3
>            Reporter: Walter Rumsby
>            Priority: Minor
>
> The <stripes:button> custom tag generates <input type="button">. I believe it 
> should actually generate <button> elements. 
> <button> elements are easier to style (older browsers don't support selectors 
> like input[type="submit"]). 
> <button> supports three types: button - which is like an <input 
> type="button">, submit - which is like an <input type="submit"> and reset - 
> which is like an <input type="reset">.
> We use <button type="submit"> in preference to <input type="submit"> because 
> it is easier to style buttons. This means that we can't use <stripes:submit> 
> or <stripes:button>, which isn't a massive problem, but it would be nice to 
> be able to use <stripes:button type="submit"> and have that generate a 
> <button type="submit">, e.g.
> <stripes:button type="submit">Ok</stripes:button>
> would generate:
> <button type="submit">Ok</button>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to