native-template

From Documentation
Revision as of 07:32, 19 November 2010 by Tomyeh (talk | contribs) (Created page with '{{ZKDevelopersReferencePageHeader}} '''Syntax:''' <native-template> <native-class>''a_class_represents_native''</native-class> </native-template> It specifies the class us…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

<native-template>
  <native-class>a_class_represents_native</native-class>
</native-template>

It specifies the class used to instantiate a native component. The native component is used only when ZK Loader is rendering a ZUML document. After rendered, multiple native components might be merged into one, and it might be replaced by other component to save the memory at the server.

Example,

<native-template>
	<native-class>org.zkoss.zk.ui.HtmlNativeComponent</native-class>
</native-template>

native-class

[Required]

The class used to instantiate a natve component.

Version History

Last Update : 2010/11/19


Version Date Content
     



Last Update : 2010/11/19

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