-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
in a zul page I have an Iframe and I set his source from composer.
MySrc = http://urlexternal.it
MyFrame.setSrc(MySrc);
How can I set a timeout???
How can see the message if the external site (MySrc) is unreachable?
Thanks.
This will be difficult. In browser, iframe is like another browser tab window, you can not control one tab from another tab for security reason. If the page loaded into iframe comes from the same server, you might be able to make them communicate to each other on server side. This is not a ZK issue. It is about whether you can communicate from iframe to your "main" page in some way.
Asked: 2012-03-23 11:35:36 +0800
Seen: 162 times
Last updated: Apr 05 '12