org.zkoss.zk.au.out
Class AuScript

java.lang.Object
  extended by org.zkoss.zk.au.AuResponse
      extended by org.zkoss.zk.au.out.AuScript
Direct Known Subclasses:
AuScript

public class AuScript
extends AuResponse

A response to ask the client to execute the specified client scripts.

data[0]: the client script codes (i.e., JavaScript codes)

It is usually not a good idea to use AuScript send codes to the client, since it makes it difficult to customize the visual representation of a component. Rather, it is better to use AuInvoke instead.

Since:
3.0.0
Author:
tomyeh
See Also:
AuInvoke

Constructor Summary
AuScript(Component depends, java.lang.String script)
           
 
Method Summary
 
Methods inherited from class org.zkoss.zk.au.AuResponse
equals, getCommand, getData, getDepends, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuScript

public AuScript(Component depends,
                java.lang.String script)
Parameters:
depends - the component that this script depends on. Or null if this script shall always execute.


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.