2007-11-22 17:57:06 +07:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Purpose:
|
|
|
|
Defines methods and actions for DSP
|
|
|
|
Description:
|
|
|
|
|
|
|
|
Histroy:
|
|
|
|
Mon Jun 20 20:57:56 2005, Created by tomyeh
|
|
|
|
|
|
|
|
Copyright (C) 2005 Potix Corporation. All Rights Reserved.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<taglib>
|
2008-07-09 20:07:13 +07:00
|
|
|
<uri>http://www.zkoss.org/dsp/zk/core</uri>
|
2007-11-22 17:57:06 +07:00
|
|
|
<description>
|
|
|
|
Methods and actions for ZK in DSP/ZUML
|
|
|
|
</description>
|
|
|
|
|
2008-07-09 20:07:13 +07:00
|
|
|
<!-- -->
|
|
|
|
<!-- Imports -->
|
|
|
|
<!-- -->
|
|
|
|
<import>
|
|
|
|
<import-name>ZkFns</import-name>
|
|
|
|
<import-class>org.zkoss.zk.fn.ZkFns</import-class>
|
|
|
|
</import>
|
|
|
|
|
|
|
|
<!-- -->
|
|
|
|
<!-- Functions -->
|
|
|
|
<!-- -->
|
2007-11-22 17:57:06 +07:00
|
|
|
<function>
|
|
|
|
<name>redraw</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
void redraw(org.zkoss.zk.ui.Component, java.io.Writer)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Redraw the specified component.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>outResponseJavaScripts</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outResponseJavaScripts(java.util.Collection);
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns javascript to handle the specified responses.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>outLangJavaScripts</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outLangJavaScripts(java.lang.String)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns HTML tags to include all JavaScripts used by all languages.
|
2008-10-09 15:33:10 +07:00
|
|
|
The argument is ignored (since 3.5.0; reserved for backward compatible).
|
2007-11-22 17:57:06 +07:00
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outLangStyleSheets</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outLangStyleSheets()
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns HTML tags to include all style sheets used by all languages.
|
2008-07-09 20:07:13 +07:00
|
|
|
Note: it cannot be called without current execution. In other words,
|
|
|
|
it is used to design component templates.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
2009-03-10 09:08:08 +07:00
|
|
|
<name>outHtmlUnavailable</name>
|
2008-07-09 20:07:13 +07:00
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
2009-03-10 09:08:08 +07:00
|
|
|
java.lang.String outHtmlUnavailable(org.zkoss.zk.ui.Page)
|
2008-07-09 20:07:13 +07:00
|
|
|
</function-signature>
|
|
|
|
<description>
|
2009-03-10 09:08:08 +07:00
|
|
|
Generates the unavailable message in HTML tags, if any.
|
2007-11-22 17:57:06 +07:00
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
2008-07-09 20:07:13 +07:00
|
|
|
<name>outHeaders</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
2009-05-13 10:36:38 +07:00
|
|
|
java.lang.String outHeaders(org.zkoss.zk.ui.Page, boolean)
|
2008-07-09 20:07:13 +07:00
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the content that will be placed inside the header element
|
|
|
|
of the specified page.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outRootAttributes</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outRootAttributes(org.zkoss.zk.ui.Page)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the content that will be placed as the attributes of
|
|
|
|
the root element of the specified page.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outContentType</name>
|
2007-11-22 17:57:06 +07:00
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
2008-07-09 20:07:13 +07:00
|
|
|
java.lang.String outContentType(org.zkoss.zk.ui.Page)
|
2007-11-22 17:57:06 +07:00
|
|
|
</function-signature>
|
|
|
|
<description>
|
2008-07-09 20:07:13 +07:00
|
|
|
Returns the content type.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outDocType</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outDocType(org.zkoss.zk.ui.Page)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the doc type.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outFirstLine</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outFirstLine(org.zkoss.zk.ui.Page)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the first line to be generated to the output.
|
2007-11-22 17:57:06 +07:00
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>toAbsoluteURI</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String toAbsoluteURI(java.lang.String, boolean)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Converts the specified URI to abolute if necessary.
|
|
|
|
Note: it doesn't convert if this page is included by another page.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
|
2008-07-09 20:07:13 +07:00
|
|
|
<function>
|
|
|
|
<name>outPageAttrs</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outPageAttrs(org.zkoss.zk.ui.Page)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the attributes to render a page.
|
|
|
|
</description>
|
|
|
|
</function>
|
2008-10-09 15:33:10 +07:00
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>outZkHtmlTags</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outZkHtmlTags()
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
2009-11-10 16:35:31 +07:00
|
|
|
Returns the ZK specific HTML tags, if not generated yet.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outZkHeadHtmlTags</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outZkHeadHtmlTags(org.zkoss.zk.ui.Page)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns the ZK specific HTML tags including the headers defined in the page,
|
|
|
|
if not generated yet
|
2008-10-09 15:33:10 +07:00
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>noCSSAttrs</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String noCSSAttrs(java.lang.String)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Removes the class and style attributes from the specified one.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outCSSAttrs</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outCSSAttrs(java.lang.String)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns only the class and style attributes from the specified one.
|
|
|
|
</description>
|
|
|
|
</function>
|
2009-03-10 09:08:08 +07:00
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>outLocaleJavaScript</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.DspFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outLocaleJavaScript()
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Returns date relevant labels in JavaScript.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>outDeviceStyleSheets</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.DspFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
java.lang.String outDeviceStyleSheets(java.lang.String)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
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.
|
|
|
|
</description>
|
|
|
|
</function>
|
2009-11-10 16:35:31 +07:00
|
|
|
|
|
|
|
<function>
|
|
|
|
<name>setCacheControl</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.DspFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
void setCacheControl(java.lang.String, int)
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Sets the Cache-Control and Expires headers for the current request.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>setCSSCacheControl</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.DspFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
void setCSSCacheControl()
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Sets the Cache-Control and Expires headers for the CSS file
|
|
|
|
from class Web resource for the current request.
|
|
|
|
</description>
|
|
|
|
</function>
|
|
|
|
<function>
|
|
|
|
<name>setCWRCacheControl</name>
|
|
|
|
<function-class>org.zkoss.zk.fn.DspFns</function-class>
|
|
|
|
<function-signature>
|
|
|
|
void setCWRCacheControl()
|
|
|
|
</function-signature>
|
|
|
|
<description>
|
|
|
|
Sets the Cache-Control and Expires headers for
|
|
|
|
class Web resource for the current request.
|
|
|
|
</description>
|
|
|
|
</function>
|
2007-11-22 17:57:06 +07:00
|
|
|
</taglib>
|