From 08956e027d4554cd28bd60775ddaf2ada4058103 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 10 Nov 2009 09:35:31 +0000 Subject: [PATCH] upgrade to zk3.6.3 - see http://www.zkoss.org/release/rn-3.6.3.dsp for new features and bug fix ( bottom of the page ) --- zkwebui/WEB-INF/tld/zk/core.dsp.tld | 48 +++++++++++++++- zkwebui/WEB-INF/tld/zk/core.jsp.tld | 85 +++++++++++++++++++++++++++++ zkwebui/WEB-INF/xsd/zul.xsd | 14 +++-- 3 files changed, 138 insertions(+), 9 deletions(-) create mode 100644 zkwebui/WEB-INF/tld/zk/core.jsp.tld diff --git a/zkwebui/WEB-INF/tld/zk/core.dsp.tld b/zkwebui/WEB-INF/tld/zk/core.dsp.tld index 71f82ee372..dda8b81018 100755 --- a/zkwebui/WEB-INF/tld/zk/core.dsp.tld +++ b/zkwebui/WEB-INF/tld/zk/core.dsp.tld @@ -166,8 +166,18 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved. java.lang.String outZkHtmlTags() - Returns the desktop info to render a desktop. - It is required only if outPageAttrs might not be called + 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 @@ -192,7 +202,6 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved. - outLocaleJavaScript org.zkoss.zk.fn.DspFns @@ -215,4 +224,37 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved. @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. + + diff --git a/zkwebui/WEB-INF/tld/zk/core.jsp.tld b/zkwebui/WEB-INF/tld/zk/core.jsp.tld new file mode 100644 index 0000000000..d47d0af049 --- /dev/null +++ b/zkwebui/WEB-INF/tld/zk/core.jsp.tld @@ -0,0 +1,85 @@ + + + + + + + 1.1 + 2.0 + core.jsp + http://www.zkoss.org/tld/core.jsp + + Methods for JSP pages + + + + outZkHtmlTags + org.zkoss.zk.fn.ZkFns + + java.lang.String outZkHtmlTags(ServletContext, + HttpServletRequest, HttpServletResponse, String) + + + Returns the desktop info to render a desktop. + It is required only if outPageAttrs might not be called + + + + + outDeviceStyleSheets + org.zkoss.zk.fn.JspFns + + java.lang.String outDeviceStyleSheets(ServletContext, + HttpServletRequest, HttpServletResponse, String) + + + Returns HTML tags to include all style sheets used by the specified device. + Note: unlike outLangStyleSheets, it can be called without current execution. + + + + + setCacheControl + org.zkoss.zk.fn.JspFns + + void setCacheControl(HttpServletResponse, java.lang.String, int) + + + Sets the Cache-Control and Expires headers for the current request. + + + + setCSSCacheControl + org.zkoss.zk.fn.JspFns + + void setCSSCacheControl(HttpServletResponse) + + + Sets the Cache-Control and Expires headers for the CSS file + from class Web resource for the current request. + + + + setCWRCacheControl + org.zkoss.zk.fn.JspFns + + void setCWRCacheControl(HttpServletResponse) + + + Sets the Cache-Control and Expires headers for + class Web resource for the current request. + + + diff --git a/zkwebui/WEB-INF/xsd/zul.xsd b/zkwebui/WEB-INF/xsd/zul.xsd index be20db6dbc..4a6e545103 100644 --- a/zkwebui/WEB-INF/xsd/zul.xsd +++ b/zkwebui/WEB-INF/xsd/zul.xsd @@ -883,9 +883,10 @@ - + + @@ -1289,7 +1290,7 @@ - + @@ -1534,6 +1535,7 @@ + @@ -1603,13 +1605,13 @@ use="optional" /> - - + + - + @@ -1965,7 +1967,7 @@ - +