widget"

From Documentation
(Created page with '{{ZKDevelopersReferencePageHeader}} '''Syntax:''' <widget name="''widgetName''"/> It specifies the widget's name. Example, <source lang="xml"> <package name="zul.wgt" langu…')
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ZKDevelopersReferencePageHeader}}
+
{{ZKClient-sideReferencePageHeader}}
  
 
'''Syntax:'''
 
'''Syntax:'''
Line 17: Line 17:
 
</source>
 
</source>
  
A widget declaration will cause WPD to generate the widget definition in JavaScript. It also assumes there is a JavaScript file with the same name in the same directory. For example, the above example will cause WPD to embed A.js, Cell.js, Div.js and Span.js.
+
A widget declaration will cause WPD to generate the widget definition in JavaScript. It also assumes that there is a JavaScript file with the same name in the same directory. For example, the above example will cause WPD to embed A.js, Cell.js, Div.js and Span.js.
  
 
=Version History=
 
=Version History=
Line 29: Line 29:
 
|}
 
|}
  
{{ZKDevelopersReferencePageFooter}}
+
{{ZKClient-sideReferencePageFooter}}

Latest revision as of 09:59, 23 August 2011


Syntax:

<widget name="widgetName"/>

It specifies the widget's name.

Example,

<package name="zul.wgt" language="xul/html" depends="zul">
	<widget name="A"/>
	<widget name="Cell"/>	
	<widget name="Div"/>
	<widget name="Span"/>
</package>

A widget declaration will cause WPD to generate the widget definition in JavaScript. It also assumes that there is a JavaScript file with the same name in the same directory. For example, the above example will cause WPD to embed A.js, Cell.js, Div.js and Span.js.

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.