You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Aleksandr Mashchenko (JIRA)" <ji...@apache.org> on 2017/02/27 20:30:45 UTC
[jira] [Assigned] (WW-4747) s:file generates input tag with "value"
attribute
[ https://issues.apache.org/jira/browse/WW-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Mashchenko reassigned WW-4747:
----------------------------------------
Assignee: Aleksandr Mashchenko
> 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.3.x, 2.5
> Reporter: Iwasa Kazmi
> Assignee: Aleksandr Mashchenko
> Priority: Minor
> Fix For: 2.5.next
>
>
> <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)