# sometime my page will not be displayed after zk loader

zkBeginner2012
21

Hello,

i have a problem in my zk web application.
When i open my application the zk-loader starts and when it is ready the page is displayed.

That works fine in 90% of the requests but on the rest my page will not be displayed after the zk-loader is ready.
In that cases i see just a blank screen and nothing happens.

Does someone have the same issue and a solution for it?

I am using zk6.0.2 (the same problem exists with 6.1.0) and no error message or exception exists....

Thank's for helping!

delete retag edit

## 9 Replies

zkBeginner2012
21

When i looking into the html code which is generated i can see, that my zul content is wrapped by an the following tag

<div id="kE8Q70" style="display:none">

So of course the page will not be displayed, but why was this tag generated (with this style) !?

When i am now reloading the page the content will be displayed!

jj
638 3

zkBeginner,
It would be helpful if you can provide a simplified sample app (e.g. one zul page) that reproduces the problem. Unless someone had exactly the same problem before, it is difficult to guess what the problem might be given the above information. Also, during the process of stripping down your app, you may actually find out the problem yourself.

zkBeginner2012
21

Hi,

this is my index page which (as an example) produces this issue:

<?page id="xx" title="xx" cacheable="false"
language="xul/html" zscriptLanguage="Java" contentType="text/html;charset=UTF-8"?>

<zk xmlns:h="native">
<div class="startpageAppArea" apply="com.vkem.ctrl.module.IndexCtlr">
<label value="Page.de" class="appTitle"/>
<label value="Beta" style="color:red;"/>

<div class="startpageArea">
<hlayout>
<vlayout>

<hlayout>
<vlayout>
<label style="font-weight:bold" value = "Vorname"/>
<textbox id="iFirstName" width="70px"/>
</vlayout>
<vlayout>
<label style="font-weight:bold" value = "Nachname"/>
<textbox id="iLastName"  width="70px"/>
</vlayout>
<vlayout>
<separator />
</vlayout>
</hlayout>

<separator />
<separator />
<separator />
<separator />
<separator />
<button label="Benutzer erstellen" image="/images/icon/agt_forward.png"
width="200px" dir="reverse" href="registration.zul"/>
<separator />
<button label="Wunschliste bearbeiten" image="/images/icon/agt_forward.png"
width="200px" dir="reverse" id="btEditWishlist"/>
<separator />
<button label="Fragen + Antworten" image="/images/icon/agt_forward.png"
width="200px" dir="reverse" id="btFaq"/>
</div>
</vlayout>
<vlayout>
<div class="descriptionForm">
<label value="Erzeugen Sie sich eine Wunschliste"/>
<h:br/>
<h:br/>
<label value="Tragen Sie ihre Wünsche in der Wunschliste ein"/>
<h:br/>
<h:br/>
<label value="Teilen Sie die Wunschliste mit ihren Freunden"/>
<h:br/>
<h:br/>
<label value="Freuen Sie sich über die richtigen Geschenke"/>
<h:br/>
</div>
</vlayout>
</hlayout>
<separator/>

</div>
</div>
<separator/>
<h:table>
<h:tr>
<h:td class="copyright">? 2012 - Page </h:td>
</h:tr>
</h:table>
</div>
<html>
<![CDATA[
....Some Javascript Code (Piwik Tracking and Google+ Code...
]]>
</html>
</zk>

jj
638 3

I had to remove the apply attribute, but the page shows up fine every time I load it. It looks bad because I don't have the images/css/.., but it always displays.
I am using Chrome for the testing, tomcat as the back-end.
A few places to look into:

1. app.css, see if you remove it, would display work?
2. IndexCtlr, see if you remove it, would display work?
3. Anything special in your zk.xml or web.xml?

This way you can narrow down the suspect.

Neus
1415 14

It happens sometimes to me, too.

Try using IE to reproduce it. I think when it happens to me I am always using IE.

zkBeginner2012
21

@Neus
I can reproduce this problem with Google Chrome, Internet Explorer 8.0 and Safari Mobile. Do you have a solution to solve this problem?

Neus
1415 14

No, I didn't find any solution. Today has happens with IE 7, but I can't tell why it happens or when it happens.
zkBeginner, have you found any information about it or any solution? Some one else??

Thank you!

zkBeginner2012
21

Yes i found a solution! I downgraded the zk framework to a version lower than 6. With version 5.x i have no problems.....

Neus
1415 14

@zkBeginner2012

In your first post you said that page will not be displayed after the zk-loader is ready. So, you know it has executed zk-loader... What do you use to know what the application is doing at every moment? I'm having some more problems with the application because sometimes it stops responding (I explained it in this post http://www.zkoss.org/forum/listComment/19689-IE-stop-responding) and I want to know what it is doing when it happens.

[hide preview]

## Stats

Seen: 219 times

Last updated: Dec 20 '12

## Related questions

Support Options
• Email Support
• Training
• Consulting
• Outsourcing