org.apache.tapestry.param
Interface IParameterConnector

All Known Implementing Classes:
AbstractParameterConnector

public interface IParameterConnector

Define a type of connector between a binding of a component and a JavaBeans property of the component (with the same name). Allows for the parameter to be set before the component is rendered, then cleared after the component is rendered.

Since:
2.0.3
Version:
$Id: IParameterConnector.java,v 1.4 2004/02/19 17:37:54 hlship Exp $
Author:
Howard Lewis Ship

Method Summary
 void resetParameter(IRequestCycle cycle)
          Clears the parameters to a null, 0 or false value (depending on type).
 void setParameter(IRequestCycle cycle)
          Sets the parameter from the binding.
 

Method Detail

setParameter

public void setParameter(IRequestCycle cycle)
Sets the parameter from the binding.

Throws:
RequiredParameterException - if the parameter is required, but the IBinding supplies a null value.

resetParameter

public void resetParameter(IRequestCycle cycle)
Clears the parameters to a null, 0 or false value (depending on type).