struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4747) s:file generates input tag with "value" attribute
Date Tue, 28 Feb 2017 17:36:45 GMT

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

Aleksandr Mashchenko commented on WW-4747:
------------------------------------------

[~yasser.zamani] ;) WW-4630

> 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)

Mime
View raw message