voyent
javascript error from icesfaces-compat.jsf  XML
Forum Index -> General Help
Author Message
rajganna

Joined: 28/Sep/2011 06:58:22
Messages: 10
Offline


I am using Icefaces 3.2.

When the command button is clicked to display the popup I am getting the javascript error 'null' is null or not an object from icefaces-compat.js.jsf at [line 8] $(trigger).blur() where this expression is null.

This is happening in IE8 and Chrome displays this error in the debugger "Uncaught TypeError: Cannot call method 'blur' of null "


Any help to resolve this issue is greatly appreciated.

Thanks,
raj
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Do you still get the error with 3.3.0?

.
rajganna

Joined: 28/Sep/2011 06:58:22
Messages: 10
Offline


Thanks for the quick reply Philip. I have not tried with the 3.3 yet. We recently changed to 3.2 GA version.
rajganna

Joined: 28/Sep/2011 06:58:22
Messages: 10
Offline


Hi Philip,
I quickly replaced my Icefaces 3.2 libs with Icefaces 3.3 libs and still getting the error;

This is where the error is coming from in icefaces-compat.js.jsf

Code:
 var modal = document.getElementById(target);
         modal.style.zIndex = parseInt(iframe.style.zIndex) + 2;
         Ice.modal.target = modal;
         //register modal popup
         Ice.modal.setRunning(target);
         if (trigger) {
             Ice.modal.trigger = trigger;
             $(trigger).blur(); =>[b] displaying error in IE8 ('null' is null or not an object[/b]
             setFocus('');
         }
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team