Namespaces
Standard Namespaces
Standard namespaces are not languages. That means they are not used to provide component definitions. Rather, they are used to provide special functionality to ZUML.
For introduction of languages vs standard namespaces, please refer to ZK Developer’s > References.
Namespace | Description |
---|---|
zk | Name: zk Namespace: http://www.zkoss.org/2005/zkNamespace shortcut: zk Java: It is the reserved namespace for specifying ZK specific elements and attributes, such as the zk element and the unless attribute. For more information please refer to the ZK Namespace section. |
native | Name: native Namespace: http://www.zkoss.org/2005/zk/nativeNamespace shortcut: native Java: It is the reserved namespace for specifying native elements. A native element represents a native tag at the client. For browsers, a native element represents a HTML tag. Unlike the xhtml language, there is no component associated with, so the performance is much better but you cannot change it dynamically. For more information please refer to the Native Namespace section. |
annotation | Name: annotation Namespace: http://www.zkoss.org/2005/zk/annotationNamespace shortcut: annotation Java: It is the reserved namespace for specifying annotations. For more information please refer to the annotation section. |
client | Name: client Namespace: http://www.zkoss.org/2005/zk/clientNamespace shortcut: client Java: It is the reserved namespace for specifying a ZK JavaScript widget’s event listeners and attributes. For more information please refer to the Client Namespace section. |
client attribute | Name: client/attribute Namespace: http://www.zkoss.org/2005/zk/client/attributeNamespace shortcut: client/attribute Java: It is the reserved namespace for specifying client-side DOM attributes. Unlike the client namespace, which assigns something to widgets, the client/attribute namespace assigns to the DOM tree directly. For more information please refer to the Client Attribute Namespace section. |
client attribute prefix | Name: client/attribute-prefix Namespace: http://www.zkoss.org/2020/zk/client/attribute-prefixNamespace shortcut: client/attribute-prefix Java: It is the reserved namespace for specifying the client-side DOM attributes including the prefix. Unlike the client namespace, which assigns something to widgets, the client/attribute-prefix namespace assigns to the DOM tree directly. For more information please refer to the Client Attribute Prefix Namespace section. |
xhtml | Name: xhtml Namespace: http://www.w3.org/1999/xhtmlNamespace shortcut: xhtml It is the XHTML component set. For more information please refer to the the Languages section. |
zul | Name: xul/html Namespace: http://www.zkoss.org/2005/zulNamespace shortcut: zul It is the ZUL component set. For more information please refer to the the Languages section. |
xml | Name: xml Namespace: http://www.zkoss.org/2007/xmlNamespace shortcut: xml It is the XML component set. For more information please refer to the the Languages section. |
shadow | Name: shadow Namespace: http://www.zkoss.org/2015/shadowNamespace shortcut: shadow It is the reserved namespace for specifying shadow elements. For more information please refer to the Shadow Namespace. |
For more information of XHTML, ZUL and other component sets, please refer to the Languages section.