Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.BETA
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces EE 3.0.0, regression as of commit svn rvn # 28277
Description
The commit for ICE-7781 is resulting in JS errors being thrown by the EE Composite Showcase application when run with MyFaces (Mojarra is fine).
ICEfaces-ee/trunk/icefaces-ee rev. 30763
Server: Tomcat 7.0.0 (icepc13)/7.0.8 (local)
Browsers: IE7/8
There is a JS error (IE8) or Runtime Error (IE7 /icepc13) when clicking on any of the left side links on the EE Component Showcase main page.
No errors in IE9.
IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Wed, 14 Mar 2012 17:40:54 UTC
Message: Object doesn't support this property or method
Line: 1
Char: 39412
Code: 0
URI: http://localhost:8080/ee-composite-showcase/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=766874567
The offending commit is:
28277 3/12/12 12:31 PM 1 mircea.tomaICE-7781 Changed PanelPopupRenderer to use JavascriptContext.addJavascriptCall method to send the JS code for auto-centering instead rendering the JS code in the component's markup. Using this approach we make sure the auto-centering is sent along every update of the popup.
ICEfaces-ee/trunk/icefaces-ee rev. 30763
Server: Tomcat 7.0.0 (icepc13)/7.0.8 (local)
Browsers: IE7/8
There is a JS error (IE8) or Runtime Error (IE7 /icepc13) when clicking on any of the left side links on the EE Component Showcase main page.
No errors in IE9.
IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Wed, 14 Mar 2012 17:40:54 UTC
Message: Object doesn't support this property or method
Line: 1
Char: 39412
Code: 0
URI: http://localhost:8080/ee-composite-showcase/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=766874567
The offending commit is:
28277 3/12/12 12:31 PM 1 mircea.toma
The EE Composite Showcase sample can be build by:
1. Checkout http://server.ice:8888/svn/repo/icefaces-ee3/trunk
2. in the icefaces-ee dir, type "ant build.projects -Dmyfaces="true" "
3. the resulting samples/dist/ee-composite-showcase.war can be deployed to tomcat to see the issue on IE7 or IE8.