_global_
Class _global_

java.lang.Object
  extended by _global_._global_

public class _global_
extends java.lang.Object

It is not really a class but a collection of global functions and variables.

Author:
tomyeh

Method Summary
 void onIframeURLChange(String uuid, String url)
          Callback when the URL/bookmark of an iframe has been changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

onIframeURLChange

public void onIframeURLChange(String uuid,
                              String url)
Callback when the URL/bookmark of an iframe has been changed. This method is used to allow ZK to work with other technology. For example, if the iframe's content is not ZK, it can invoke the parent window's onIframeURLChange to notify ZK, if exist, as follows.

if (parent.onIframeURLChange)
        parent.onIframeURLChange(myid, myurl);

On the other hand, if the container is generated by other technology and you want to know if the URL of the ZK page inside an iframe is changed, you can implement this global function. Refer to ZK Component Reference for more information.

Parameters:
uuid - the component UUID
url - the new URL


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo