-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi.
I created a simple login page that has just a few fields on it (labels, text fields, a button). When I load this page in the browser on my desktop computer, it loads pretty quickly (about a second). But when I try loading it on an iPhone 3G or a BlackBerry, it takes much longer (about 8 seconds or even more sometimes).
I'm using version 5.0.9 of ZK.
Am I doing something wrong? Here is the content of the .zul file for the page.
<?page title="ZK Store - Login"?> <?link type="text/css" rel="stylesheet" href="skins/mobile_s_v.css"?> <window xmlns:h="http://www.w3.org/1999/xhtml" id="loginWin" border="normal" width="100%" height="100%" title="You are using: ${desktop.webApp.version}" position="center,center"> <h:img src="image/CrisysLogoRedTransparent.gif" alt="logo" width="300" height="130" /> <label class="important">Xpert</label> <label class="super" pre="true" value="Disaster"></label> <h:br> </h:br> <h:br> </h:br> <label class="label" style="padding-top:5px;padding-bottom:5px;padding-right:5px;padding-left:5px;">Enter your user name:</label> <textbox id="nameTxb" class="textBox" style="padding-top:5px;padding-bottom:5px;padding-right:5px;padding-left:5px;width:100%" /> <h:br> </h:br> <h:br> </h:br> <label class="label" style="padding-top:5px;padding-bottom:5px;padding-right:5px;padding-left:5px;">Enter your password:</label> <textbox id="passwordTxb" type="password" class="textBox" style="padding-top:5px;padding-bottom:5px;padding-right:5px;padding-left:5px;width:100%" /> <h:br> </h:br> <h:br> </h:br> <button id="confirmBtn" class="button width100" label="Log in" forward="onOK" /> <h:br> </h:br> <h:br> </h:br> <label id="mesgLbl" /> </window>
Thanks for any help,
Peter
Thanks, zippy. When you say "zk is heavy process", do you mean there's no way I can make it fast enough to run using mobile devices? Or is there a way to speed it up?
Thanks,
Peter
I think, Zippy has already posted an issue about this situation:
http://tracker.zkoss.org/browse/ZK-574
Asked: 2011-11-24 01:23:30 +0800
Seen: 184 times
Last updated: Nov 29 '11