Yes, it's really the job of the containing component to coordinate Foo and Bar.
See if this helps - it's a page which coordinates PersonList and PersonEditor:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud
Geoff
On 09/05/2011, at 1:03 PM, Thiago H. de Paul
On Sun, 08 May 2011 23:23:15 -0300, revprez
wrote:
Say I have a component Foo that defines an action link on a zone
rendered by component Bar.
Components are supposed to be self-contained, so having one component
updating a zone inside another one is not recommended at all.
I receive
Trying to understand if the following is possible, and if not why.
Say I have a component Foo that defines an action link on a zone rendered by
component Bar.
Foo.tml:
...
Go Update
Somthing
...
Bar.tml:
...
${value}
...
And in Foo.java:
@Property private int value = 0;
@InjectComponent Zone s