Re: subcomponent that changes a parent components property

2014-05-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 May 2014 04:28:20 -0300, John wrote: What approach should be used to allow the inner component to change a parent property? Besides using the Environment service, another approach is to declare component parameter in the inner component using the prop binding (which is the def

Re: subcomponent that changes a parent components property

2014-05-20 Thread Lance Java
Use the Environment http://tapestry.apache.org/environmental-services.html On 20 May 2014 08:28, "John" wrote: > I've created a component that needs to change a property in its containing > component. The problem is that the property affected is persisted .CLIENT > in the parent so that any chan

subcomponent that changes a parent components property

2014-05-20 Thread John
I've created a component that needs to change a property in its containing component. The problem is that the property affected is persisted .CLIENT in the parent so that any changes the component makes get overwritten by the old value with the client side persistence. At the moment the child c