org.zkoss.jsf.zul
Class ComponentDefinition

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.zkoss.jsf.zul.impl.AbstractComponent
              extended by org.zkoss.jsf.zul.impl.BaseComponentDefinition
                  extended by org.zkoss.jsf.zul.ComponentDefinition
All Implemented Interfaces:
javax.faces.component.StateHolder

public class ComponentDefinition
extends BaseComponentDefinition

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/

Author:
Dennis.Chen

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

ComponentDefinition

public ComponentDefinition()


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.