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
Dennis Bayer
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Invalid [ 6 ] |
Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.
Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf
If the issue persists with the current ICEfaces release, please create a new JIRA for it.