http://www.zkoss.org/dsp/zk/core
Methods and actions for ZK in DSP/ZUML
ZkFns
org.zkoss.zk.fn.ZkFns
redraw
org.zkoss.zk.fn.ZkFns
void redraw(org.zkoss.zk.ui.Component, java.io.Writer)
Redraw the specified component.
outResponseJavaScripts
org.zkoss.zk.fn.ZkFns
java.lang.String outResponseJavaScripts(java.util.Collection);
Returns javascript to handle the specified responses.
outLangJavaScripts
org.zkoss.zk.fn.ZkFns
java.lang.String outLangJavaScripts(java.lang.String)
Returns HTML tags to include all JavaScripts used by all languages.
The argument is ignored (since 3.5.0; reserved for backward compatible).
outLangStyleSheets
org.zkoss.zk.fn.ZkFns
java.lang.String outLangStyleSheets()
Returns HTML tags to include all style sheets used by all languages.
Note: it cannot be called without current execution. In other words,
it is used to design component templates.
outHtmlUnavailable
org.zkoss.zk.fn.ZkFns
java.lang.String outHtmlUnavailable(org.zkoss.zk.ui.Page)
Generates the unavailable message in HTML tags, if any.
outHeaders
org.zkoss.zk.fn.ZkFns
java.lang.String outHeaders(org.zkoss.zk.ui.Page, boolean)
Returns the content that will be placed inside the header element
of the specified page.
outRootAttributes
org.zkoss.zk.fn.ZkFns
java.lang.String outRootAttributes(org.zkoss.zk.ui.Page)
Returns the content that will be placed as the attributes of
the root element of the specified page.
outContentType
org.zkoss.zk.fn.ZkFns
java.lang.String outContentType(org.zkoss.zk.ui.Page)
Returns the content type.
outDocType
org.zkoss.zk.fn.ZkFns
java.lang.String outDocType(org.zkoss.zk.ui.Page)
Returns the doc type.
outFirstLine
org.zkoss.zk.fn.ZkFns
java.lang.String outFirstLine(org.zkoss.zk.ui.Page)
Returns the first line to be generated to the output.
toAbsoluteURI
org.zkoss.zk.fn.ZkFns
java.lang.String toAbsoluteURI(java.lang.String, boolean)
Converts the specified URI to abolute if necessary.
Note: it doesn't convert if this page is included by another page.
outPageAttrs
org.zkoss.zk.fn.ZkFns
java.lang.String outPageAttrs(org.zkoss.zk.ui.Page)
Returns the attributes to render a page.
outZkHtmlTags
org.zkoss.zk.fn.ZkFns
java.lang.String outZkHtmlTags()
Returns the ZK specific HTML tags, if not generated yet.
outZkHeadHtmlTags
org.zkoss.zk.fn.ZkFns
java.lang.String outZkHeadHtmlTags(org.zkoss.zk.ui.Page)
Returns the ZK specific HTML tags including the headers defined in the page,
if not generated yet
noCSSAttrs
org.zkoss.zk.fn.ZkFns
java.lang.String noCSSAttrs(java.lang.String)
Removes the class and style attributes from the specified one.
outCSSAttrs
org.zkoss.zk.fn.ZkFns
java.lang.String outCSSAttrs(java.lang.String)
Returns only the class and style attributes from the specified one.
outLocaleJavaScript
org.zkoss.zk.fn.DspFns
java.lang.String outLocaleJavaScript()
Returns date relevant labels in JavaScript.
outDeviceStyleSheets
org.zkoss.zk.fn.DspFns
java.lang.String outDeviceStyleSheets(java.lang.String)
Returns HTML tags to include all style sheets used by the specified device.
Note: unlike outLangStyleSheets, it can be called without current execution.
@param deviceType the device type. If null, "ajax" is assumed.
setCacheControl
org.zkoss.zk.fn.DspFns
void setCacheControl(java.lang.String, int)
Sets the Cache-Control and Expires headers for the current request.
setCSSCacheControl
org.zkoss.zk.fn.DspFns
void setCSSCacheControl()
Sets the Cache-Control and Expires headers for the CSS file
from class Web resource for the current request.
setCWRCacheControl
org.zkoss.zk.fn.DspFns
void setCWRCacheControl()
Sets the Cache-Control and Expires headers for
class Web resource for the current request.