You could use parameters - Tapestry keeps them always in sync:
public class Parent
{
// here Parent's state is bound to Child's state
@Component(parameters = "state=state")
private Child child;
@Property
private String state;
}
public class Child
{
@Parameter
private String state;
}
see also http://tapestry.apache.org/component-parameters.html
--
Chris
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Components-communication-with-nested-components-tp6261431p6261909.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]