[PF3.3 RC1] Core.js: Problem with IE8

UI Components for JSF
Post Reply
caioquirino
Posts: 70
Joined: 12 Jan 2012, 15:06
Location: Brazil

24 May 2012, 16:42

When my page is loaded, i receive this error: Object doesn't support this property or method - primefaces.js.jsf?ln=primefaces, line 189 Character 17

Tested only on version 8 of IE.

http://code.google.com/p/primefaces/sou ... re/core.js
Line 188: if(window[widgetVar])

To fix IE8's error, i'm updated the line 188 and tested ok:
Should be: if(window[widgetVar] && window[widgetVar].refresh)
PrimeFaces 3.3 GA, Mojarra 2.1.7, Tomcat 7, JDK1.7 x64, Fedora Core 16, Eclipse Indigo

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 May 2012, 17:27

Don't give widgetVar and component id the same name. Discussed many times in forum.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 55 guests