-
FEATURED COMPONENTS
First time here? Check out the FAQ!
My ZK program is built in as an iframe on a foreign site. If another page is called and then the browser back button jumps back to the page containing the iframe zk loses the click event on the button. The problem occurs with the Safari browser and I think that has to do with the bfcache safari uses. Does anyone have an idea what i can do here?
Best Regards
I found this stackoverflow Q&A, regarding the same issue, tried it and luckily it worked on a mac.
I simply added the reloading script to the iframe page:
http://zkfiddle.org/sample/1s629bc/1-iframe-reload-on-browser-back#source-3
direct link: http://temp.zkfiddle.org:8080/t861icbc/1s629bc/1/
You see the cached iframe content flickering for a fraction of a second. So it doesn't really stop the bfcache, but it reloads on demand.
If another page is called and then the browser back button jumps back to the page containing the iframe zk loses the click event on the button.
Your description is not entirely clear, can you please provide the exact sequence of user interactions leading to your problem.
So far I got (1 and 2), the rest is quite unclear
Asked: 2019-05-08 13:41:43 +0800
Seen: 21 times
Last updated: May 17 '19
How to control selectAll() feature in a Listbox with multiple=true and checkmark=true
ZK8 Wizard Series: Part 2 now released!
Faster And Lighter, The Performance Test On ZK8
org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
How To Check Dirty Status in ZK8?
Come and join the ''JS'' Hunt!
No one has an idea how to solve it?
andij62 ( 2019-05-10 16:55:41 +0800 )editI guess your description was not very clear I asked some questions for you to clarify... maybe you can add some screenshots or a like to a screen recording.
cor3000 ( 2019-05-14 14:29:22 +0800 )edit