XML Namespaces"
From Documentation
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | In a ZUML document, a XML namespace is used to identify either a special | + | In a ZUML document, a XML namespace is used to identify either a special functionality or a component set. We call the former as [[ZUML Reference/ZUML/Namespaces|a standard namespace]], while the later as [[ZUML Reference/ZUML/Languages|a language]]. |
+ | |||
+ | =Standard Namespaces= | ||
+ | For example, the [[ZUML Reference/ZUML/Namespaces/Client|client namespace]] is used to identify that a XML attribute shall be interpreted as a client-side control. | ||
+ | |||
+ | In the following example, <tt>w:onFocus</tt> is a client-side listener since <tt>w:</tt> is specified, while <tt>onChange</tt> is | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <combobox xmlns:w="client" w:onFocus="this.open()" onChange="doOnChange()"/> | ||
+ | </source> | ||
+ | |||
+ | For more information, please refer to [[ZUML Reference/ZUML/Namespaces|ZUML Reference]]. | ||
+ | |||
+ | =Languages= | ||
=Version History= | =Version History= |
Revision as of 05:06, 3 December 2010
In a ZUML document, a XML namespace is used to identify either a special functionality or a component set. We call the former as a standard namespace, while the later as a language.
Standard Namespaces
For example, the client namespace is used to identify that a XML attribute shall be interpreted as a client-side control.
In the following example, w:onFocus is a client-side listener since w: is specified, while onChange is
<combobox xmlns:w="client" w:onFocus="this.open()" onChange="doOnChange()"/>
For more information, please refer to ZUML Reference.
Languages
Version History
Version | Date | Content |
---|---|---|