|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.au.AuResponse org.zkoss.zk.au.out.AuLoadScript
public class AuLoadScript
Loads a JavaScript file to client and execute it.
Field Summary |
---|
Fields inherited from class org.zkoss.zk.au.AuResponse |
---|
_cmd, _data, SC_ACTIVATION_TIMEOUT, SC_OUT_OF_SEQUENCE |
Constructor Summary | |
---|---|
AuLoadScript(java.lang.String url,
java.lang.String callback,
boolean once)
Loads a JavaScript file to client and execute it. |
Method Summary |
---|
Methods inherited from class org.zkoss.zk.au.AuResponse |
---|
equals, getCommand, getDepends, getEncodedData, getOverrideKey, getRawData, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuLoadScript(java.lang.String url, java.lang.String callback, boolean once)
url
- the URL of the JavasScript file, it will be encoded with
Encodes.encodeURL(javax.servlet.ServletContext, javax.servlet.ServletRequest, javax.servlet.ServletResponse, String)
.callback
- a callback script to execute when the JavaScript file has loaded.once
- true means the url will be cached and executed only once.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |