org.apache.tapestry.param
Interface IParameterConnector

All Known Implementing Classes:
AbstractParameterConnector, BooleanParameterConnector, DoubleParameterConnector, IntParameterConnector, ObjectParameterConnector, StringParameterConnector

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 243791 2004-02-19 17:38:13Z hlship $
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

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

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