init"
From Documentation
m |
Jumperchen (talk | contribs) |
||
Line 1: | Line 1: | ||
{{ZKJSPTagsEssentialsPageHeader}} | {{ZKJSPTagsEssentialsPageHeader}} | ||
+ | ==init== | ||
'''Syntax''' | '''Syntax''' | ||
Revision as of 06:37, 26 November 2010
init
Syntax
<zk:init use="..." [arg0="..."] [arg1="..."]/>
It defines an initiator that will be instantiated and called when the ZUML document is loaded. The class must be specified in the use attribute[1], and it must implement Initiator.
For more information please refer to ZUML Reference.
Fir example,
<zk:init use="foo.MyInit"/>
...
<zk:page>
...
</zk:page>
- ↑ Unlike ZUML, the attribute is called use, rather than class, because of the limitation of JSP
Version History
Version | Date | Content |
---|---|---|