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.2 2003/03/15 21:22:16 hlship Exp $
- Author:
- Howard Lewis Ship
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).