org.apache.tapestry.param
Class ParameterManager

java.lang.Object
  extended by org.apache.tapestry.param.ParameterManager

public class ParameterManager
extends Object

Manages a set of IParameterConnectors for a IComponent.

Since:
2.0.3
Version:
$Id: ParameterManager.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
ParameterManager(IComponent component)
           
 
Method Summary
 void resetParameters(IRequestCycle cycle)
          Invoked just after the component renders.
 void setParameters(IRequestCycle cycle)
          Invoked just before a component renders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterManager

public ParameterManager(IComponent component)
Method Detail

setParameters

public void setParameters(IRequestCycle cycle)
Invoked just before a component renders. Converts bindings to values that are assigned to connected properties.


resetParameters

public void resetParameters(IRequestCycle cycle)
Invoked just after the component renders. Returns component properties back to initial values (unless the corresponding binding is invariant). In addition, for Direction.FORM parameters, the property is read and the binding is set from the property value (if the cycle is rewinding and the current form is rewinding).