Namespaces

From Documentation



Standard Namespaces

Standard namespaces are not languages. That means they are used to provide component definitions. Rather, they are used to provide special functionality to ZUML.

Namespace Description
zk
Name: zk
Namespace: http://www.zkoss.org/2005/zk
Namespace shortcut: zk

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/native
Namespace shortcut: native

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.

client
Name: client
Namespace: http://www.zkoss.org/2005/zk/client
Namespace shortcut: client

It is the reserved namespace for specifying client-side event listener and overrides. For more information please refer to the Client Namespace section.

client attribute
Name: client attribute
Namespace: http://www.zkoss.org/2005/zk/client/attribute
Namespace shortcut: client/attribute

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.



Version History

Last Update : 2010/11/30

Version Date Content
     



Last Update : 2010/11/30

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.