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 )
This commit is contained in:
Heng Sin Low 2009-11-10 09:35:31 +00:00
parent b9b1017d9c
commit 08956e027d
3 changed files with 138 additions and 9 deletions

View File

@ -166,8 +166,18 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved.
java.lang.String outZkHtmlTags() java.lang.String outZkHtmlTags()
</function-signature> </function-signature>
<description> <description>
Returns the desktop info to render a desktop. Returns the ZK specific HTML tags, if not generated yet.
It is required only if outPageAttrs might not be called </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
</description> </description>
</function> </function>
@ -192,7 +202,6 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved.
</description> </description>
</function> </function>
<!-- DSP only -->
<function> <function>
<name>outLocaleJavaScript</name> <name>outLocaleJavaScript</name>
<function-class>org.zkoss.zk.fn.DspFns</function-class> <function-class>org.zkoss.zk.fn.DspFns</function-class>
@ -215,4 +224,37 @@ Copyright (C) 2005 Potix Corporation. All Rights Reserved.
@param deviceType the device type. If null, "ajax" is assumed. @param deviceType the device type. If null, "ajax" is assumed.
</description> </description>
</function> </function>
<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>
</taglib> </taglib>

View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Purpose:
Description:
Histroy:
Tue Oct 20 16:47:28 2009, Created by tomyeh
Copyright (C) 2009 Potix Corporation. All Rights Reserved.
-->
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
version="2.0">
<tlib-version>1.1</tlib-version>
<jsp-version>2.0</jsp-version>
<short-name>core.jsp</short-name>
<uri>http://www.zkoss.org/tld/core.jsp</uri>
<description>
Methods for JSP pages
</description>
<function>
<name>outZkHtmlTags</name>
<function-class>org.zkoss.zk.fn.ZkFns</function-class>
<function-signature>
java.lang.String outZkHtmlTags(ServletContext,
HttpServletRequest, HttpServletResponse, String)
</function-signature>
<description>
Returns the desktop info to render a desktop.
It is required only if outPageAttrs might not be called
</description>
</function>
<function>
<name>outDeviceStyleSheets</name>
<function-class>org.zkoss.zk.fn.JspFns</function-class>
<function-signature>
java.lang.String outDeviceStyleSheets(ServletContext,
HttpServletRequest, HttpServletResponse, 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.
</description>
</function>
<function>
<name>setCacheControl</name>
<function-class>org.zkoss.zk.fn.JspFns</function-class>
<function-signature>
void setCacheControl(HttpServletResponse, 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.JspFns</function-class>
<function-signature>
void setCSSCacheControl(HttpServletResponse)
</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.JspFns</function-class>
<function-signature>
void setCWRCacheControl(HttpServletResponse)
</function-signature>
<description>
Sets the Cache-Control and Expires headers for
class Web resource for the current request.
</description>
</function>
</taglib>

View File

@ -883,9 +883,10 @@
<xs:attribute name="value" type="dateType" use="optional" /> <xs:attribute name="value" type="dateType" use="optional" />
<xs:attribute name="lenient" type="booleanType" use="optional" /> <xs:attribute name="lenient" type="booleanType" use="optional" />
<xs:attribute name="compact" type="booleanType" use="optional" /> <xs:attribute name="compact" type="booleanType" use="optional" />
<xs:attribute name="timeZone" type="xs:string" use="optional" />
<xs:attribute name="buttonVisible" type="booleanType" use="optional" /> <xs:attribute name="buttonVisible" type="booleanType" use="optional" />
<xs:attribute name="open" type="booleanType" use="optional" /> <xs:attribute name="open" type="booleanType" use="optional" />
<xs:attribute name="displayedTimeZones" type="xs:string" use="optional" />
<xs:attribute name="timeZonesReadonly" type="booleanType" use="optional" />
<xs:attributeGroup ref="rootAttrGroup" /> <xs:attributeGroup ref="rootAttrGroup" />
</xs:complexType> </xs:complexType>
<!-- decimalbox --> <!-- decimalbox -->
@ -1289,7 +1290,7 @@
<xs:attribute name="src" type="xs:string" use="optional" /> <xs:attribute name="src" type="xs:string" use="optional" />
<xs:attribute name="localized" type="booleanType" use="optional" /> <xs:attribute name="localized" type="booleanType" use="optional" />
<xs:attribute name="progressing" type="booleanType" use="optional" /> <xs:attribute name="progressing" type="booleanType" use="optional" />
<xs:attribute name="mode" type="booleanType" use="optional" /> <xs:attribute name="mode" type="xs:string" use="optional" />
<xs:attributeGroup ref="rootAttrGroup" /> <xs:attributeGroup ref="rootAttrGroup" />
</xs:complexType> </xs:complexType>
<!-- intbox --> <!-- intbox -->
@ -1534,6 +1535,7 @@
<xs:attributeGroup ref="xulElementAttrGroup" /> <xs:attributeGroup ref="xulElementAttrGroup" />
<xs:attribute name="orient" type="orientAttrType" use="optional" /> <xs:attribute name="orient" type="orientAttrType" use="optional" />
<xs:attribute name="autodrop" type="booleanType" use="optional" /> <xs:attribute name="autodrop" type="booleanType" use="optional" />
<xs:attribute name="scrollable" type="booleanType" use="optional" />
<xs:attributeGroup ref="rootAttrGroup" /> <xs:attributeGroup ref="rootAttrGroup" />
</xs:complexType> </xs:complexType>
<!-- menuitem --> <!-- menuitem -->
@ -1603,13 +1605,13 @@
use="optional" /> use="optional" />
<xs:attribute name="closable" type="booleanType" use="optional" /> <xs:attribute name="closable" type="booleanType" use="optional" />
<xs:attribute name="collapsible" type="booleanType" use="optional" /> <xs:attribute name="collapsible" type="booleanType" use="optional" />
<xs:attribute name="Floatable" type="booleanType" use="optional" /> <xs:attribute name="floatable" type="booleanType" use="optional" />
<xs:attribute name="Framable" type="booleanType" use="optional" /> <xs:attribute name="framable" type="booleanType" use="optional" />
<xs:attribute name="maximizable" type="booleanType" use="optional" /> <xs:attribute name="maximizable" type="booleanType" use="optional" />
<xs:attribute name="maximized" type="booleanType" use="optional" /> <xs:attribute name="maximized" type="booleanType" use="optional" />
<xs:attribute name="minimized" type="booleanType" use="optional" /> <xs:attribute name="minimized" type="booleanType" use="optional" />
<xs:attribute name="minimizable" type="booleanType" use="optional" /> <xs:attribute name="minimizable" type="booleanType" use="optional" />
<xs:attribute name="Movable" type="booleanType" use="optional" /> <xs:attribute name="movable" type="booleanType" use="optional" />
<xs:attribute name="open" type="booleanType" use="optional" /> <xs:attribute name="open" type="booleanType" use="optional" />
<xs:attribute name="title" type="xs:string" use="optional" /> <xs:attribute name="title" type="xs:string" use="optional" />
</xs:complexType> </xs:complexType>
@ -1965,7 +1967,7 @@
<xs:element name="toolbar" type="toolbarType" /> <xs:element name="toolbar" type="toolbarType" />
<xs:complexType name="toolbarType"> <xs:complexType name="toolbarType">
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="anyGroup" /> <xs:group ref="baseGroup" />
<xs:element ref="toolbarbutton" /> <xs:element ref="toolbarbutton" />
<xs:element ref="button" /> <xs:element ref="button" />
<xs:element ref="image" /> <xs:element ref="image" />