struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iwasa Kazmi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4747) s:file generates input tag with "value" attribute
Date Fri, 24 Feb 2017 05:35:44 GMT
Iwasa Kazmi created WW-4747:
-------------------------------

             Summary: s:file generates input tag with "value" attribute
                 Key: WW-4747
                 URL: https://issues.apache.org/jira/browse/WW-4747
             Project: Struts 2
          Issue Type: Bug
          Components: Core Tags
    Affects Versions: 2.5, 2.3.x
            Reporter: Iwasa Kazmi
            Priority: Minor


<s:file> tag generates HTML tag like:
<input type="file" ... value="" .../>

It is valid as long as the empty "value" value was specified, but HTML5 standard says:
"The element's value attribute must be omitted."
https://www.w3.org/TR/html5/forms.html#file-upload-state-(type=file)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message