You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Wojciech Zadlo (JIRA)" <ji...@apache.org> on 2012/06/29 15:04:42 UTC
[jira] [Created] (WICKET-4633) MultiFileUploadField after selecting
a file does not hide properly input field
Wojciech Zadlo created WICKET-4633:
--------------------------------------
Summary: MultiFileUploadField after selecting a file does not hide properly input field
Key: WICKET-4633
URL: https://issues.apache.org/jira/browse/WICKET-4633
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5.5
Environment: Windows 7 64-bit, JDK 1.6.0, Mozilla Firefox 13.0.1
Reporter: Wojciech Zadlo
Priority: Minor
Component org.apache.wicket.markup.html.form.upload.MultiFileUploadField in related javascript uses code: ''this.style.position = 'absolute'; this.style.left = '-1000px' " to hide a file input after selecting a file.
Unfortunately on my screen (1920x1200) if I put this component on the right side of a page then after selecting a file, "the hidden input" is moved to the left of its container, but still visible for a user.
Changing style.position to 'fixed' should resolve the problem, so the input field will be positioned relative to the browser window, not to its ancestor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4633) MultiFileUploadField after
selecting a file does not hide properly input field
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4633.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.8
6.0.0-RC1
Assignee: Martin Grigorov
> MultiFileUploadField after selecting a file does not hide properly input field
> -------------------------------------------------------------------------------
>
> Key: WICKET-4633
> URL: https://issues.apache.org/jira/browse/WICKET-4633
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.5
> Environment: Windows 7 64-bit, JDK 1.6.0, Mozilla Firefox 13.0.1
> Reporter: Wojciech Zadlo
> Assignee: Martin Grigorov
> Priority: Minor
> Labels: javascript, wicket
> Fix For: 6.0.0-RC1, 1.5.8
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Component org.apache.wicket.markup.html.form.upload.MultiFileUploadField in related javascript uses code: ''this.style.position = 'absolute'; this.style.left = '-1000px' " to hide a file input after selecting a file.
> Unfortunately on my screen (1920x1200) if I put this component on the right side of a page then after selecting a file, "the hidden input" is moved to the left of its container, but still visible for a user.
> Changing style.position to 'fixed' should resolve the problem, so the input field will be positioned relative to the browser window, not to its ancestor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira