The language-addon
From Documentation
Revision as of 04:34, 14 July 2010 by Tmillsclare (talk | contribs) (Created page with '{{ZKComponentDevelopmentEssentialsPageHeader}} The language-addon contains a description of the relation between the component and widget referred to as the component definition…')
The language-addon contains a description of the relation between the component and widget referred to as the component definition. The path of the file must be /metainfo/zk/lang-addon.xml and be located in the Java class path.
<language-addon>
<addon-name>simplelabel</addon-name>
<language-name>xul/html</language-name>
<component>
<component-name>simplelabel</component-name>
<component-class>com.foo.SimpleLabel</component-class>
<widget-class>com.foo.SimpleLabel</widget-class>
<mold>
<mold-name>default</mold-name>
<mold-uri>mold/simple-label.js</mold-uri>
</mold>
</component>
</language-addon>
The table below describes the elements used within the above XML and their descriptions.