|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.zkoss.jsf.zul.impl.AbstractComponent
org.zkoss.jsf.zul.impl.BaseComponentDefinition
org.zkoss.jsf.zul.ComponentDefinition
public class ComponentDefinition
ComponentDefinition is a JSF component that register the custom component definition to ZUL page.
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:page>
Note : ComponentDefinition must be declared before page component.
To know more ZK component features you can refer to http://www.zkoss.org/
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
ComponentDefinition()
|
|
| Method Summary |
|---|
| Methods inherited from class org.zkoss.jsf.zul.impl.BaseComponentDefinition |
|---|
encodeBegin, getExtends, getMacroURI, getMoldName, getMoldURI, getName, getUseClass, isInline, restoreState, saveState, setDynamicAttribute, setExtends, setInline, setMacroURI, setMoldName, setMoldURI, setName, setUseClass |
| Methods inherited from class org.zkoss.jsf.zul.impl.AbstractComponent |
|---|
findAncestorWithClass, getBodyContent, getComponentInfo, getFacesContext, getFamily, getIf, getUnless, isEffective, isSuppressed, loadZULTree, restoreAttachedMapState, saveAttachedMapState, setBodyContent, setIf, setSuppressed, setUnless |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentDefinition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||