[richfaces-issues] [JBoss JIRA] (RF-13155) Unable to trigger hidden FileUpload in IE with an associated Label: missing Id on generated <input type=“file“>

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Aug 27 20:55:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-13155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799735#comment-12799735 ] 

Brian Leathem commented on RF-13155:
------------------------------------

Adding a id attribute here:
https://github.com/richfaces4/components/blob/master/input/ui/src/main/templates/fileupload.template.xml#L51

would be trivial
{code}
...
<input id="#{clientId}Inp" type="file" class="rf-fu-inp" />
...
{code}

[~antikair] would you like to formulate this as a pull request?
https://community.jboss.org/wiki/GuideToUsePullRequestsWithGitHubAndJIRA
                
> Unable to trigger hidden FileUpload in IE with an associated Label: missing Id on generated <input type=“file“>
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13155
>                 URL: https://issues.jboss.org/browse/RF-13155
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.3.2
>         Environment: Internet Explorer 8
>            Reporter: Benoit Pflieger
>            Priority: Minor
>
> A hidden FileUpload was triggered by clicking an associated label to the generated tag <input type=“file“>.
> That's the security workaround to trigger an <input type=“file“> under Internet Explorer.
> It worked with Richfaces 3.3.
> This workaround can't be achieved anymore with Richfaces 4.3.2 because the <input type=“file“> is only generated without the attribute "id". 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list