Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: EE-1.8.2.GA_P07, EE-1.8.2.GA_P08
-
Fix Version/s: EE-1.8.2.GA_P09
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:Support Case #13797 - https://icesoft.my.salesforce.com/5007000001c5Brb
Description
This call is working on the first call but no longer on subsequent calls/clicks. The actual method is not being called either.
Calling the same JS script on the client side (onclick event) doesn't reproduce this issue.
Testing in Firefox I see a "no element found" js error being thrown. I don't see any errors in other browsers though.
-
Hide
- Case13797Example.war
- 8.19 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 0.3 kB
- WEB-INF/classes/.../support/TestBean.class 1 kB
- WEB-INF/faces-config.xml 0.7 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-fileupload.jar 67 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 3.16 MB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/icefaces.jar 1.24 MB
- WEB-INF/lib/jsf-api-1.2.jar 355 kB
- WEB-INF/lib/jsf-impl-1.2.jar 837 kB
- WEB-INF/lib/jstl-1.2.jar 405 kB
- WEB-INF/web.xml 4 kB
- index.xhtml 0.4 kB
- welcomeICEfaces.xhtml 1 kB
- window.xhtml 0.7 kB
-
Hide
- Case13797Example.zip
- 22 kB
- Arran Mccullough
-
- Case13797Example/build.xml 3 kB
- Case13797Example/.../ant-deploy.xml 2 kB
- Case13797Example/.../build-impl.xml 80 kB
- Case13797Example/.../faces-config.NavData 0.2 kB
- Case13797Example/.../genfiles.properties 0.5 kB
- Case13797Example/.../private.properties 0.6 kB
- Case13797Example/nbproject/.../private.xml 0.6 kB
- Case13797Example/.../project.properties 4 kB
- Case13797Example/nbproject/project.xml 1 kB
- Case13797Example/src/conf/MANIFEST.MF 0.0 kB
- Case13797Example/src/.../support/Item.java 0.1 kB
- Case13797Example/src/.../TestBean.java 0.8 kB
- Case13797Example/web/index.xhtml 0.4 kB
- Case13797Example/web/.../context.xml 0.1 kB
- Case13797Example/web/.../faces-config.xml 0.7 kB
- Case13797Example/web/WEB-INF/web.xml 4 kB
- Case13797Example/.../welcomeICEfaces.xhtml 1 kB
- Case13797Example/web/window.xhtml 0.7 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Add in a counter to my sample to see if that helped to get the updates shown but no change was seen. The first update is as follows:
<updates><update address="j_id7:j_id13" tag="span"><attribute name="class"><Unable to render embedded object: File ([CDATA[iceOutTxt]]></attribute><attribute name="id"><) not found.[CDATA[j_id7:j_id13]]></attribute><content><Unable to render embedded object: File (1:dynamic-code" tag="script"><attribute name="id"><) not found.[CDATA[M4iS_FdU_xtDU_JW1bO6QA:1:dynamic-code]]></attribute><attribute name="type"><Unable to render embedded object: File ([CDATA[text/javascript]]></attribute><content><) not found.[CDATA[window.open('window.iface'); //#
{testBean.num};Ice.Focus.setFocus('j_id7:j_id8');//-1884519940]]></content></update></updates>
The second click is as follows:
<updates><update address="M4iS_FdU_xtDU_JW1bO6QA:1:dynamic-code" tag="script"><attribute name="id"><Unable to render embedded object: File (1:dynamic-code]]></attribute><attribute name="type"><) not found.[CDATA[text/javascript]]></attribute><content><![CDATA[Ice.Focus.setFocus('j_id7:j_id8');//685312109]]></content></update></updates>
This is also specific to the window.open script. Using an alert script, it doesn't happen (this is commented out in my sample).
This issue is invalid. The test application needs to be configured with com.icesoft.faces.concurrentDOMViews=true context parameter to ensure that the parent window is differentiated (by ICEfaces) from the pop up window.
Attached test case that shows this issue.
Steps: