Iframe did not show data after IE refresh(F5)
2 Sep 2010 21:36:18 GMT
2 Sep 2010 22:29:13 GMT
2 Sep 2010 22:29:13 GMT
Hi mark0401,
Unfortunately I can't reproduce the problem from the code you provide. I tested on IE8. Which version of IE did you use?
Also, I don't have your CSS setting, so that's another part I can't test on. You can also try to remove the sclass to narrow down to cause.
Regards,
Simon
3 Sep 2010 00:39:54 GMT
3 Sep 2010 00:39:54 GMT
Hi Simon
After test again,I found such code has problem,please try again ,thanks!
<div id="mainDiv" width="100%" height="100%" align="center"
sclass="rootContainerWidth" apply="${ mainPageController }">
<separator spacing="10px" />
<vbox id="rootVbx" width="800px" align="center">
<hbox id="topDiv">
<vbox id="broadDiv" width="400px"
style="padding-right:10px;">
<panel border="0" title="FFFFF" height="175px">
<panelchildren sclass="grayback">
<separator spacing="20px" />
<label value="FFFFFF" />
</panelchildren>
</panel>
<div id="broadMiddleDiv" height="5px" />
</vbox>
<vbox id="myTaskDiv" width="400px">
<panel border="0" sclass="rootContainerWidth"
title="DDDDD" height="175px">
<panelchildren sclass="grayback">
<label value="FFFFFF" />
<grid>
<columns>
<column label="" width="30%"
align="right" />
<column label="" width="20%"
align="center" />
<column label="" width="30%"
align="right" />
<column label="" width="20%"
align="center" />
</columns>
</grid>
</panelchildren>
</panel>
</vbox>
</hbox>
</vbox>
<separator spacing="10px" />
</div>3 Sep 2010 01:00:13 GMT
3 Sep 2010 01:00:13 GMT
mark0401,
What's your IE version? Have you tried to remove all the sclasses?
Simon
3 Sep 2010 02:29:14 GMT
3 Sep 2010 02:29:14 GMT
Yes,I remove all sclass.
My IE is 8.0.6001.18702.
<?page id="main" title="DDD" cacheable="false" language="xul/html" zscriptLanguage="Java" contentType="text/html;charset=UTF-8"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="mainDiv"?> <zk> <div id="mainDiv" width="100%" height="100%" align="center" > <separator spacing="10px" /> <vbox id="rootVbx" width="800px" align="center"> <hbox id="topDiv"> <panel border="0" title="FFFFF" height="175px" style="padding-right:10px;" width="400px"> <panelchildren sclass="grayback"> <label value="FFFFFF" /> <grid></grid><!-- If add this,no label show!! --> </panelchildren> </panel> <panel border="0" width="400px" title="DDDD" height="175px"> <panelchildren sclass="grayback"> <label value="FFFFFF" /> </panelchildren> </panel> </hbox> </vbox> <separator spacing="10px" /> </div> </zk>
3 Sep 2010 02:55:55 GMT
3 Sep 2010 02:55:55 GMT
Sorry, I am working with the latest ZK 5.0.4, on IE 8.0.7600.16385, and I still can't spot the issue you mentioned.
What's in your style sheet regarding to sclass "grayback"? That is the only sclass in the code now.
Simon
ZK - Open Source Ajax Java Framework
In my page ,I use a iframe to show main content.
First visit it after the application start,the page show right,but when I refresh(F5) it,the iframe just show the title,no detail content.
But if I right click this page and refresh it,it show OK,and I check the source code,is same.
Can any one give me some suggestions about this,thanks!
main.zul(just show title,no label show)