-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys,
I was wondering how to remove these pop ups from appearing while the first page loads. After a lot of search, I found this code -
<zk> <window id="xyz"> <attribute name="onCreate"> Clients.showBusy("null", false); </attribute> </window> </zk>
I tried this for the window on the home page of the application, but it works only on the localhost, and as soon as the application goes to the production, those pop ups appear again.
Is it because of the loading of too much data? I can see the effect of the above code on localhost, but not on production.
Best,
Kapil
Hi Kapil
I have tested you sample in my url http://jimmy-pc:8080/ZK50/test.zul,
it worked well,
What ZK version are you using?
do you want to disable all loading icon ?
Thanks for reply.
Yes, I do want to disable all of them. And the code works well on the local machine but not on prod environment.
As asked, could this be an issue related to bulk loading of the data?
ZK demo site seems to be working fine and does not show these pop up messages.
set following setting in your zk.xml
<device-config> <device-type>ajax</device-type> <embed><![CDATA[ <script type="text/javascript"> zAu.cmd0.showBusy = function () {return false;} </script> ]]></embed> </device-config>
hi this can be done for only specific pages ?
Yes, you can add a script tag in your zul page
<script> zAu.cmd0.showBusy = function () {return false;} </script>Asked: 2010-10-05 07:29:31 +0800
Seen: 558 times
Last updated: Aug 22 '15