| MacroUi is a JSF component implementation for macro component
Usage:
<z:component name="mywindow" extends="window" useClass="org.zkoss.jsfdemo.test.ForwardWindow" title="Forward Window" />
<z:component name="mybox" macroURI="/test/macro-mybox.zul" title="My Box" />
<z:page>
<z:ui tag="mywindow" border="normal" />
<z:ui tag="mybox" message="a box" />
</z:page>
This component should be declared nested under
org.zkoss.jsf.zul.Page .
Note:
Ui doesn't support features such as ActionSource, ValueHolder, EditableValueHolder etc.
You should not binding any JSF attribute(such as f:value, f:actionPerform etc.) on a Ui because it is only a template.
To know more ZK component features you can refer to http://www.zkoss.org/
author: Dennis.Chen |