native-template"

From Documentation
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ZKDevelopersReferencePageHeader}}
+
{{ZKClient-sideReferencePageHeader}}
  
 
'''Syntax:'''
 
'''Syntax:'''
Line 6: Line 6:
 
  </native-template>
 
  </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.
+
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 rendering, multiple native components might be merged into one, and it might be replaced by other component to save the memory at the server.
  
 
Example,
 
Example,
Line 31: Line 31:
 
|}
 
|}
  
{{ZKDevelopersReferencePageFooter}}
+
{{ZKClient-sideReferencePageFooter}}

Latest revision as of 09:23, 23 August 2011


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 rendering, 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 : 2011/08/23


Version Date Content
     



Last Update : 2011/08/23

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