| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 13/06/2006 00:00:00
|
mistraj
Joined: 13/06/2006 00:00:00
Messages: 6
Offline
|
Hi -
When I add the icesoft panelTabSet component, I keep getting JavaScript errors when the page first comes up:
Error: window.frames.0.location is null or not an object
Source File: http://localhost:8080/jsftest/xmlhttp/icefaces-d2d.js
Line: 1
And when I click on a tab, I get the following error:
Error: connection is not defined
Source File: http://localhost:8080/jsftest/xmlhttp/icefaces-d2d.js
Line: 1
This happens in IE or Firefox.
Thanks,
-Julio
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 13/06/2006 00:00:00
|
philip.breau

Joined: 08/05/2006 00:00:00
Messages: 2701
Offline
|
Hi Julio,
We've seen the 2nd error before when a user trys to interact with a page before all of the JavaScript is loaded. But I don't think we've seen the 1st error before. If you could show us more of the JSF page we might have a better idea why it's happening.
Thanks,
Philip
|
. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 14/06/2006 00:00:00
|
mistraj
Joined: 13/06/2006 00:00:00
Messages: 6
Offline
|
Hi - I'm attaching the JSP and the rendered HTML page. I'm thinking that the first error is causing the JavaScript not to be loaded, which leads to the second error (even after I wait a couple of seconds, the 2nd error still appears).
Thanks,
-Julio
| Filename |
search.jspx |
Download
|
| Description |
No description given |
| Filesize |
3 Kbytes
|
| Downloaded: |
104 time(s) |
| Filename |
search.jsp |
Download
|
| Description |
No description given |
| Filesize |
7 Kbytes
|
| Downloaded: |
106 time(s) |
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 14/06/2006 00:00:00
|
philip.breau

Joined: 08/05/2006 00:00:00
Messages: 2701
Offline
|
Hi Julio,
Thanks for those. This is an interesting one. I was able to recreate the exact problem you were seeing. When I included a <body> tag in the JSF page, the problems disappeared. We'll definitely look into this, but in the mean-time, I'd suggest putting the <body> tag in.
Thanks,
Philip
|
. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 14/05/2007 04:24:26
|
robmat

Joined: 06/03/2007 00:00:00
Messages: 8
Offline
|
Hi there!
I do have the body tag inserted in the jsf page and I still get the same errors but only in IE.
Any ideas?
|
God damned programmers... |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/04/2008 02:59:29
|
ullinker2008
Joined: 04/02/2008 00:00:00
Messages: 46
Offline
|
I have also the same problem, did you solve it ! only in IE
thanks
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/04/2008 08:49:11
|
ullinker2008
Joined: 04/02/2008 00:00:00
Messages: 46
Offline
|
try moving any meta tags in the head so that they're before your script tags.
it works now for me !!
good luck
|
|
|
 |
|
|