voyent
Blank pages in Internet Explorer 7.0  XML
Forum Index -> General Help
Author Message
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Hello there,

We are now developing an application using IceFaces 1.7.1, Facelets and JBoss 4.2.2.
On some pages we have met the following strange behavior:
When one user click in the page (be it a panelCollapsible, an inputText, the background, etc) a portion of the page turns blank. The behavior happens only on IE 7.0 (I checked on Opera, FireFox 2/3 and IE 6.0 and cannot reproduce it at all, while on IE 7.0 it happens all the time).

The pages are built by instantiating a facelets template (something like <ui:composition template="/WEB-INF/templates/administration.xhtml">) and redefining some content which in the template was inserted with <ui:insert>.

The logs generated by icefaces during this time (from the moment the application worked normally until the page turned blank) is the following:

[window] : Interup pressed
[window.Pclp#5.async-connection.heartbeat] : ping
[window.Pclp#5.async-connection.ui] : [158362] : send asynchronous POST
[window.Pclp#5.async-connection.ui] : [158362] : receive [200] OK
[window.Pclp#5.async-connection.blocking] : [672573] : receive [200] OK
[window.Pclp#5.async-connection] : closing previous connection...
[window.Pclp#5.async-connection.blocking] : [672573] : connection closed
[window.Pclp#5.async-connection] : connect...
[window.Pclp#5.async-connection.blocking] : [5829607] : send asynchronous POST
[window.Pclp#5.async-connection.ui] : [2372783] : send asynchronous POST
[window.Pclp#5.async-connection.ui] : [2372783] : receive [200] OK
[window.Pclp#5.async-connection.heartbeat] : pong
[window.Pclp#5.async-connection.ui] : [2372783] : connection closed
[window] : Interup pressed
 

So nothing interesting here.
If anyone has any idea, or if anyone met this kind of behavior ... I'd be more than delighted to hear.

Eduard


patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1982
Offline


Its likely IE is choking on some malformed HTML. Couple of things to consider:

- make sure you template is using an outputDelaration component. This will make sure the browser doesn't go into quirks mode for layout.
- exec. ctr-shift-T to get the connection debug window to appear. In this log you'll see the the dom update sent back to the browser. This might help debug the problem for IE.

If your still stuck post your template and css.
[Email]
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Hi patrick,
thanks a lot for the fast answer,

As you could see from my post, I did the CTRL+SHIFT+T thing, but the click only generated the "Interup pressed " message and the page turned blank. No server side action whatsoever.

Anyway, some addition info:
The behavior happens only on 2 pages like this:
1. If I expand a panelCollapsible and then click anywhere on the page
2. If I select a row with a rowSelector and then click anywhere on the page.
And still, I have lots of pages with similar content and it doesn't behave like that, otherwise I could have isolated some portion and send it to you for analyse.
Also, the blank stuff happens only on one portion of the page. The facelets template generates also some header and a navigation bar which don't get blank-ed.

I will double check about using the outputDeclaration on all pages.

God, I just love Microsoft, don't you?

Eduard
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Hi again, patrick
Could you recommend me any javascript debugger for IE 6, just in case I'm crazy enough to check debugging the client side Javascript code? I'm sure the problem is in there, and it could also save you some time.

Thanks,

Eduard
adnan.durrani


Joined: 19/Jan/2006 00:00:00
Messages: 437
Offline


http://www.debugbar.com/

Thanks,

-- Adnan Durrani --
[Email]
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Man, this is killing me.
A attach here two screenshots with the application. The first one (screenshot1) is the one looking right, the second one is the one messed up by IE 7.
All this time, the log console (CTRL+SHIFT+T) showed nothing.

And what's more scarry:
After the page gets blank, I press ALT (highlighting the menubar) and the application get's shown again correctly. Then it disappears again. And all this without any JS code from my side.

The only fishy thing could be the fact that I have more than one form per page (on the same level of course).

Eduard.
[Thumb - screenshot2.JPG]
 Filename screenshot2.JPG [Disk] Download
 Description
 Filesize 87 Kbytes
 Downloaded:  493 time(s)

[Thumb - screenshot1.JPG]
 Filename screenshot1.JPG [Disk] Download
 Description
 Filesize 139 Kbytes
 Downloaded:  517 time(s)

 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team