org.zkoss.jsf.zul
Class Page

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.RootComponent
                  extended by org.zkoss.jsf.zul.Page
All Implemented Interfaces:
javax.faces.component.StateHolder

public class Page
extends RootComponent

Defines a ZK page. It is responsible for handling the lifecycle for ZK components, such as event processing and rendering,

All other ZULJSF Component must be placed inside a Page. Nested page component are not allowed.

Author:
Dennis.Chen

Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
Page()
           
 
Method Summary
 java.lang.String getStyle()
          Returns the style.
protected  void init(org.zkoss.zk.ui.Execution exec, org.zkoss.zk.ui.Page page)
          Creates and returns the page.
 void setStyle(java.lang.String style)
          Sets the style.
 
Methods inherited from class org.zkoss.jsf.zul.impl.RootComponent
encodeBegin, encodeEnd, getComponentInfo, getZScriptLanguage, processZScript, restoreState, saveState, setZscriptLanguage, setZScriptLanguage
 
Methods inherited from class org.zkoss.jsf.zul.impl.AbstractComponent
findAncestorWithClass, getBodyContent, 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, 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

Page

public Page()
Method Detail

getStyle

public java.lang.String getStyle()
Returns the style. Default: null (no style at all).


setStyle

public void setStyle(java.lang.String style)
Sets the style.


init

protected void init(org.zkoss.zk.ui.Execution exec,
                    org.zkoss.zk.ui.Page page)
Creates and returns the page.

Overrides:
init in class RootComponent
Parameters:
exec - the execution. Note: when this method is called, the execution is not activated. For example, Executions.getCurrent() returns null.
page - the page


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