init

From Documentation
Revision as of 12:40, 19 January 2022 by Hawk (talk | contribs) (correct highlight (via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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>

  1. Unlike ZUML, the attribute is called use, rather than class, because of the limitation of JSP

Version History

Last Update : 2022/01/19


Version Date Content
     


Last Update : 2022/01/19

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