You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "prasad.bhandagi" <pr...@marsh.com> on 2013/07/11 22:07:03 UTC

Upgrade to wicket 6 giving blank page in IE 9

Hi,

Am currently upgrading my project to wicket 6.9
Am facing a sporadic issue where sometimes page comes up blank (Only the
image placed at top of page comes fine). This error comes on any random
screen (not specific to a certain screen).

I tried to narrow down the scenario when this error occurs:

- This error occurs in IE 9, does *not* occur in Firefox 10
- This error occurs with RenderStrategy as REDIRECT_TO_BUFFER and
REDIRECT_TO_RENDER, but does *not*occur with RenderStrategy as
ONE_PASS_RENDER
- After the blank page comes up, if I hit the Refresh or Back button, the
same page comes up fine

Changing the RenderStrategy is not an option currently.
It appears IE is causing the connection to close sporadically. Not quite
sure what is going on. 
Any help will be much appreciated.

Thanks,
Prasad



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Upgrade to wicket 6 giving blank page in IE 9

Posted by Cedric Gatay <ga...@gmail.com>.
I think this is something browser related, IE while deciding which rendering technique to adopt can do strange queries. It could be interesting if you dumped what happens on network using IE or another "working" browser with your old non working code.

Regards,
__
Cedric Gatay (@Cedric_Gatay)
http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr


On 15 juillet 2013 at 20:35:40, prasad.bhandagi (prasad.bhandagi@marsh.com) wrote:

Using the DOCTYPE of HTML 4.01 STRICT worked !  
Note 1: Previously used DOCTYPE was XHTML 1.0 STRICT  
Note 2: I did not have to do any changes to make the HTML pages compliant to  
4.01. When I validated there were many issues with compliance to HTML 4.01  
STRICT. It still worked by merely changing the DOCTYPE.  

While the magic worked, it would interesting to know the trick behind the  
magic.  
Not exactly sure how Wicket uses the DOCTYPE while rendering and the  
sporadic nature of the issue baffled me.  


Paul Bors wrote  
> Let me guess, the image that always shows up is a static resource w/o any  
> wicket id?  
>  
> I remember I had a similar problem and if you look inside your webapp  
> server  
> logs you would see the errors/warnings from Wicket.  
>  
> If I remember right I fixed it by sticking to strict HTML 4.01.  
>  
> Try adding the following to all of your pages:  
> &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;  
> &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;  
>  
> See if that does the magic for you.  
>  
> ~ Thank you,  
> Paul Bors  
>  
> -----Original Message-----  
> From: prasad.bhandagi [mailto:  

> prasad.bhandagi@  

> ]  
> Sent: Thursday, July 11, 2013 4:44 PM  
> To:  

> users@.apache  

> Subject: Re: Upgrade to wicket 6 giving blank page in IE 9  
>  
> Am upgrading from Wicket 1.3. However I am upgrading it step by step for  
> each major version. The problem did not occur when upgraded to 1.4 and  
> 1.5.  
> Only after upgrading to 6.9 the problem started occuring. Am using  
> Weblogic  
> 10.3,  
> JDK6  
>  
>  
>  
> --  
> View this message in context:  
> http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-  
> page-in-IE-9-tp4660213p4660215.html  
> Sent from the Users forum mailing list archive at Nabble.com.  
>  
> ---------------------------------------------------------------------  
> To unsubscribe, e-mail:  

> users-unsubscribe@.apache  

> For additional commands, e-mail:  

> users-help@.apache  

>  
>  
>  
> ---------------------------------------------------------------------  
> To unsubscribe, e-mail:  

> users-unsubscribe@.apache  

> For additional commands, e-mail:  

> users-help@.apache  





--  
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213p4660276.html  
Sent from the Users forum mailing list archive at Nabble.com.  

---------------------------------------------------------------------  
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org  
For additional commands, e-mail: users-help@wicket.apache.org

RE: Upgrade to wicket 6 giving blank page in IE 9

Posted by Paul Bors <pa...@bors.ws>.
This has nothing to do with Wicket, is just that IE likes to be different and
mess things up almost always :)

Read about the Defining document compatibility on MSDN:
http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx

And then pay attention to the links at the bottom of the article:
* When to use legacy document modes
* Controlling default rendering



-----
~ Thank you,
    Paul@Bors.ws
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213p4660278.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Upgrade to wicket 6 giving blank page in IE 9

Posted by "prasad.bhandagi" <pr...@marsh.com>.
Using the DOCTYPE of HTML 4.01 STRICT worked !
Note 1: Previously used DOCTYPE was XHTML 1.0 STRICT
Note 2: I did not have to do any changes to make the HTML pages compliant to
4.01. When I validated there were many issues with compliance to HTML 4.01
STRICT. It still worked by merely changing the DOCTYPE.

While the magic worked, it would interesting to know the trick behind the
magic.
Not exactly sure how Wicket uses the DOCTYPE while rendering and the
sporadic nature of the issue baffled me.


Paul Bors wrote
> Let me guess, the image that always shows up is a static resource w/o any
> wicket id?
> 
> I remember I had a similar problem and if you look inside your webapp
> server
> logs you would see the errors/warnings from Wicket.
> 
> If I remember right I fixed it by sticking to strict HTML 4.01.
> 
> Try adding the following to all of your pages:
> &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;
> &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
> 
> See if that does the magic for you.
> 
> ~ Thank you,
>   Paul Bors
> 
> -----Original Message-----
> From: prasad.bhandagi [mailto:

> prasad.bhandagi@

> ] 
> Sent: Thursday, July 11, 2013 4:44 PM
> To: 

> users@.apache

> Subject: Re: Upgrade to wicket 6 giving blank page in IE 9
> 
> Am upgrading from Wicket 1.3. However I am upgrading it step by step for
> each major version. The problem did not occur when upgraded to 1.4 and
> 1.5.
> Only after upgrading to 6.9 the problem started occuring. Am using
> Weblogic
> 10.3,
> JDK6
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-
> page-in-IE-9-tp4660213p4660215.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 

> users-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache

> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 

> users-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213p4660276.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Upgrade to wicket 6 giving blank page in IE 9

Posted by Paul Bors <pa...@bors.ws>.
Let me guess, the image that always shows up is a static resource w/o any
wicket id?

I remember I had a similar problem and if you look inside your webapp server
logs you would see the errors/warnings from Wicket.

If I remember right I fixed it by sticking to strict HTML 4.01.

Try adding the following to all of your pages:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

See if that does the magic for you.

~ Thank you,
  Paul Bors

-----Original Message-----
From: prasad.bhandagi [mailto:prasad.bhandagi@marsh.com] 
Sent: Thursday, July 11, 2013 4:44 PM
To: users@wicket.apache.org
Subject: Re: Upgrade to wicket 6 giving blank page in IE 9

Am upgrading from Wicket 1.3. However I am upgrading it step by step for
each major version. The problem did not occur when upgraded to 1.4 and 1.5.
Only after upgrading to 6.9 the problem started occuring. Am using Weblogic
10.3,
JDK6



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-
page-in-IE-9-tp4660213p4660215.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Upgrade to wicket 6 giving blank page in IE 9

Posted by "prasad.bhandagi" <pr...@marsh.com>.
Am upgrading from Wicket 1.3. However I am upgrading it step by step for each
major version. The problem did not occur when upgraded to 1.4 and 1.5. Only
after upgrading to 6.9 the problem started occuring. Am using Weblogic 10.3,
JDK6



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213p4660215.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Upgrade to wicket 6 giving blank page in IE 9

Posted by Cedric Gatay <ga...@gmail.com>.
Hi, what is the server environment you're facing this issue with? Did you
change something else than Wicket version ? From which one are you coming
from ?

Thanks for the answers !

__
Cedric Gatay (@Cedric_Gatay <http://twitter.com/Cedric_Gatay>)
http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr


On Thu, Jul 11, 2013 at 10:07 PM, prasad.bhandagi <prasad.bhandagi@marsh.com
> wrote:

> Hi,
>
> Am currently upgrading my project to wicket 6.9
> Am facing a sporadic issue where sometimes page comes up blank (Only the
> image placed at top of page comes fine). This error comes on any random
> screen (not specific to a certain screen).
>
> I tried to narrow down the scenario when this error occurs:
>
> - This error occurs in IE 9, does *not* occur in Firefox 10
> - This error occurs with RenderStrategy as REDIRECT_TO_BUFFER and
> REDIRECT_TO_RENDER, but does *not*occur with RenderStrategy as
> ONE_PASS_RENDER
> - After the blank page comes up, if I hit the Refresh or Back button, the
> same page comes up fine
>
> Changing the RenderStrategy is not an option currently.
> It appears IE is causing the connection to close sporadically. Not quite
> sure what is going on.
> Any help will be much appreciated.
>
> Thanks,
> Prasad
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>