Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.7.1
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:JBoss 4.2.2, FF 3
Description
The initail rendering of the inputFile-component fails times to times. I'm using it in a popup, but I think the problem is not related to it.
After having had a look (using firebug) into the generated html, I discovered that the src-attribute is set to: "javascript: document.write('<html [...]". Removing the whitespace before document caused FF to render the component correctly.
InputFileRenderer:59 says:
String pseudoURL = "javascript: document.write('" + iframeContentWriter.toString().replaceAll("\"", "%22") + "'); document.close();";
However, the problem occures not everytime and even if the component is shown the blank is still there.
After having had a look (using firebug) into the generated html, I discovered that the src-attribute is set to: "javascript: document.write('<html [...]". Removing the whitespace before document caused FF to render the component correctly.
InputFileRenderer:59 says:
String pseudoURL = "javascript: document.write('" + iframeContentWriter.toString().replaceAll("\"", "%22") + "'); document.close();";
However, the problem occures not everytime and even if the component is shown the blank is still there.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion