[ 
https://issues.apache.org/struts/browse/WW-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43252#action_43252
 ] 

Jeromy Evans commented on WW-2493:
----------------------------------

1) Which standard are you referring to?

action is a REQUIRED attribute in HTML4
name is an IMPLIED attribute in HTML4

http://www.w3.org/TR/html4/interact/forms.html#h-17.3

2) Which theme is the align="" attribute occurring in? 
It's not present in the simple theme and appears to be conditional in css_xhtml 
and xhtml.

<#if parameters.align?exists>
    align="${parameters.align?html}"<#t/>
</#if>

> XHTML compliance errors in CSS_XHTML theme
> ------------------------------------------
>
>                 Key: WW-2493
>                 URL: https://issues.apache.org/struts/browse/WW-2493
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Sami Dalouche
>
> 1] @s.form uses non standard HTML attributes
> <form id="x" name="formName" onsubmit="return true;" action="actionName">...
> => action and name are not standard HTML attributes
> 2] Also, @s.submit  always defaults to adding a "align=" attribute, which is 
> not XHTML compliant.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to