-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I am using the latest version of ZK (3.0.6 at the moment) and I would like to integrate Spring Security 2.0 to my project. Although everything works fine in terms of security, I experience a problem with the ZUL pages including a BorderLayout: components in the BorderLayout are not shown! For example:
<window id="XXX" title="XXX" use="XXX"> Visible <borderlayout> <center>Not Visible</center> <west>Not Visible</west> <east>Not Visible</east> </borderlayout> Visible </window>
Hi,
Could you tell me which browser do you use?
If possible, could you also offer me the source of the HTML the zul rendered?
Thanks,
Jumper
Hey Jumper,
Both with IE (7.0.5730.13) and Firefox (2.0.0.16) I have the same problem.
This is the HTML for IE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1"> <title></title> <link rel="stylesheet" type="text/css" href="/KararVer/zkau/web/zul/css/normie.css.dsp" /> <link rel="stylesheet" type="text/css" href="/KararVer/zkau/web/zkex/zul/css/layout.css.dsp" /> <script type="text/javascript" src="/KararVer/zkau/web/js/zk/zk.js.dsp" charset="UTF-8"> </script> <script type="text/javascript"> zk_ver='3.0.6'; zk.build='08062410'; zkau.addURI('gsf21','/KararVer/zkau'); zk_procto=900; zk_tipto=800; zk_resndto=-1; zk.eru={e403:'',e401:'',e302:''}; </script> <noscript> <p style="color:red"> Sorry, JavaScript must be enabled. <br /> Change your browser options, then <a href="">try again</a> . </p> </noscript> </head> <body> <div class="zk" id="z_sf_0" z.dtid="gsf21" style="width:100%;" z.zidsp="ctpage"> <div id="z_sf_1" z.type="zul.wnd.Wnd" z.autoz="true" class="embedded"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr id="z_sf_1!caption" class="title"> <td class="lwt-embedded"></td> <td class="mwt-embedded">Karar Ver</td> <td class="rwt-embedded"></td> </tr> </table> <div id="z_sf_1!cave" class="wc-embedded" style="border-top:0;"> <span id="z_sf_2"> Visible </span> <div id="z_sf_3" class="layout-container" z.type="zkex.zul.layout.BorderLayout"> <div id="z_sf_4" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_sf_4!real" class="layout-region layout-region-normal layout-region-center" z.cid="z_sf_5" z.pos="center" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_sf_4!cave" class="layout-region-body"> <span id="z_sf_5">Not Visible</span> </div> </div> </div> <div id="z_sf_6" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_sf_6!real" class="layout-region layout-region-normal layout-region-west" z.cid="z_sf_7" z.pos="west" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_sf_6!cave" class="layout-region-body"> <span id="z_sf_7">Not Visible</span> </div> </div> <div id="z_sf_6!split" class="layout-split layout-split-h"> <span id="z_sf_6!splitbtn" class="layout-split-btn-l"></span> </div> </div> <div id="z_sf_8" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_sf_8!real" class="layout-region layout-region-normal layout-region-east" z.cid="z_sf_9" z.pos="east" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_sf_8!cave" class="layout-region-body"> <span id="z_sf_9">Not Visible</span> </div> </div> <div id="z_sf_8!split" class="layout-split layout-split-h"> <span id="z_sf_8!splitbtn" class="layout-split-btn-r"></span> </div> </div> </div> <span id="z_sf_a"> Visible </span> </div> </div> </div> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1"> <title></title> <link rel="stylesheet" type="text/css" href="/KararVer/zkau/web/zul/css/normmoz.css.dsp" /> <link rel="stylesheet" type="text/css" href="/KararVer/zkau/web/zkex/zul/css/layout.css.dsp" /> <script type="text/javascript" src="/KararVer/zkau/web/js/zk/zk.js.dsp" charset="UTF-8"> </script> <script type="text/javascript"> zk_ver='3.0.6'; zk.build='08062410'; zkau.addURI('gd7c1','/KararVer/zkau'); zk_procto=900; zk_tipto=800; zk_resndto=-1; zk.eru={e403:'',e401:'',e302:''}; </script> <noscript> <p style="color:red"> Sorry, JavaScript must be enabled. <br /> Change your browser options, then <a href="">try again</a> . </p> </noscript> </head> <body> <div class="zk" id="z_d7_0" z.dtid="gd7c1" style="width:100%;" z.zidsp="ctpage"> <div id="z_d7_1" z.type="zul.wnd.Wnd" z.autoz="true" class="embedded"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr id="z_d7_1!caption" class="title"> <td class="lwt-embedded"></td> <td class="mwt-embedded">Karar Ver</td> <td class="rwt-embedded"></td> </tr> </table> <div id="z_d7_1!cave" class="wc-embedded" style="border-top:0;"> <span id="z_d7_2"> Visible </span> <div id="z_d7_3" class="layout-container" z.type="zkex.zul.layout.BorderLayout"> <div id="z_d7_4" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_d7_4!real" class="layout-region layout-region-normal layout-region-center" z.cid="z_d7_5" z.pos="center" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_d7_4!cave" class="layout-region-body"> <span id="z_d7_5">Not Visible</span> </div> </div> </div> <div id="z_d7_6" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_d7_6!real" class="layout-region layout-region-normal layout-region-west" z.cid="z_d7_7" z.pos="west" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_d7_6!cave" class="layout-region-body"> <span id="z_d7_7">Not Visible</span> </div> </div> <div id="z_d7_6!split" class="layout-split layout-split-h"> <span id="z_d7_6!splitbtn" class="layout-split-btn-l"></span> </div> </div> <div id="z_d7_8" z.type="zkex.zul.layout.LayoutRegion"> <div id="z_d7_8!real" class="layout-region layout-region-normal layout-region-east" z.cid="z_d7_9" z.pos="east" z.flex="false" z.mars="0,0,0,0" z.colps="false" z.open="true" z.splt="false" z.maxs="2000" z.mins="0" z.autoscl="false"> <div id="z_d7_8!cave" class="layout-region-body"> <span id="z_d7_9">Not Visible</span> </div> </div> <div id="z_d7_8!split" class="layout-split layout-split-h"> <span id="z_d7_8!splitbtn" class="layout-split-btn-r"></span> </div> </div> </div> <span id="z_d7_a"> Visible </span> </div> </div> </div> </body> </html>
Hi,
You may be able to download the ZK 3.0.6 version again or use the upcoming ZK 3.0.7 version.
Please take a look at this bug.
Asked: 2008-07-01 12:08:25 +0800
Seen: 286 times
Last updated: Jul 30 '08