org.zkoss.jsf.zul.impl
Class Initiators

java.lang.Object
  extended by org.zkoss.jsf.zul.impl.Initiators

public class Initiators
extends java.lang.Object

A helper class used to handle Initiator in ZULJSF Component.

Author:
Dennis.Chen

Constructor Summary
Initiators()
           
 
Method Summary
 void addInitiator(org.zkoss.zk.ui.util.Initiator init, java.util.List args)
          Add new initiator and it's args into this handler.
 void doAfterCompose(org.zkoss.zk.ui.Page page)
          Handle all doAfterCompose of Initiator.
 void doCatch(java.lang.Throwable t)
          Invokes Initiator.doCatch(java.lang.Throwable).
 void doFinally()
          Invokes Initiator.doFinally().
 void doInit(org.zkoss.zk.ui.Page page)
          Invokes Initiator.doInit(org.zkoss.zk.ui.Page, java.lang.Object[]), if any, and returns an instance ofInitiators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Initiators

public Initiators()
Method Detail

addInitiator

public void addInitiator(org.zkoss.zk.ui.util.Initiator init,
                         java.util.List args)
Add new initiator and it's args into this handler.

Parameters:
init - the initiator
args - the args

doInit

public void doInit(org.zkoss.zk.ui.Page page)
Invokes Initiator.doInit(org.zkoss.zk.ui.Page, java.lang.Object[]), if any, and returns an instance ofInitiators.


doAfterCompose

public void doAfterCompose(org.zkoss.zk.ui.Page page)
                    throws java.lang.Exception
Handle all doAfterCompose of Initiator.

Parameters:
page -
Throws:
java.lang.Exception

doCatch

public void doCatch(java.lang.Throwable t)
Invokes Initiator.doCatch(java.lang.Throwable). It eats all exception without throwing one (but logging). Caller has to re-throw the exception.


doFinally

public void doFinally()
Invokes Initiator.doFinally().



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