-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I got a problem with ZK Charts 1.0 (or downloads in general).
If I download a file or export the chart-graphics everything is fine, BUT if I want to go on using my application (click anywhere) it always says:
The resource you request is no longer available: /view/Index.zul (z_t6w).
This is normally caused by timeout, or opening too many Web pages.
You have to reload the page and try again.
My export or filedownload takes 1-2 secs and I'm not opening any page while downloading.
Any Idea how to fix this? (after i push "reload" on the error message, everything is fine again)
ZK 7.0.1, ZK Charts 1.0.0, Firefox 28.0
I posted the following issue ZKCHARTS-6 . Please check the status there.
If you have a sample to reproduce the same for Filedownload I'll post annother bug for that too.
Cheers,
Robert
Asked: 2014-04-23 13:27:00 +0800
Seen: 61 times
Last updated: Apr 25 '14
can you please check if exporting the chart triggers an unwanted "rmDesktop" command to zkau/ in chrome developer tools? It would roughly look like this "yourserver.com/zkau?dtid=zf7a&cmd0=rmDesktop&opt_0=i" Robert
cor3000 ( 2014-04-25 03:47:25 +0800 )edit'http://localhost:8080/xxx/zkau?dtid=zho40&cmd0=rmDesktop&opt_0=i' <-- yes it does. BUT! its not only the chart export, every download. The chart export server is my local tomcat btw.
IngoB ( 2014-04-25 07:46:05 +0800 )edit@chillworld: Its my server, local pc, so there is no reboot without me noticing.
IngoB ( 2014-04-25 07:48:48 +0800 )editok that's the reason then... rmDesktop should only be called when closing a browser tab or when navigating to a different URL, since it really cleans up/destroys the serverside representation of the current ZK page (Desktop). After a refresh a new Desktop is created.
cor3000 ( 2014-04-25 08:18:40 +0800 )editDo you have a sample zul reproducing the issue? (forget this, it can be reproduced on our own charts demo http://www.zkoss.org/zkchartsdemo/line_basic)
cor3000 ( 2014-04-25 08:19:00 +0800 )edit