-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am showing some notifications in a popup window and I want to close that window after few seconds automatically. Is there any way to close that window without clicking any button?
Thanks in advance!!
Of course is this possible.
Almost everything is possible, you just need to know how. For the instance I can't give code until next week but here are a few possible suggestions.
If you call the popup from a controller or vm, set a timeout (I suggest create a thread that waits x seconds and then close the popup or set the visibility false). If you make the popup window with init final you can call it in the subclass of the thread.(normal java behavior)
If its from the zul you open the notification, I suggest create a custom notification that extends the notification you use and in the init you can do the same thing as above.
Greetz chill.
Asked: 2013-12-31 10:11:33 +0800
Seen: 25 times
Last updated: Dec 31 '13
Controller updating UI every minute
annotation porting from zk 3.6.2 to 6.5.3
How to customize "Processing..." message
JBoss AS 7.1 +Spring+ZK+DHtmlLayoutServlet
Portallayout, portalchildren ordering storage, possible bug
Sniffer Based Monitoring of ZK Apps
The server is temporarily out of service. (syntax error (SyntaxError))