Just as a side note: Environmental is not the only way. Component parameters
are actually bidirectional. For example property bindings are writable. A
component parameter is not limited to provide values for components. It may
be used to populate a value from the component to its container. A good
example is Loop component's value parameter which is used by Loop to
"communicate" with its container.

On Thu, Jul 21, 2011 at 8:36 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 21 Jul 2011 15:32:27 -0300, George Christman <
> gchrist...@cardaddy.com> wrote:
>
> Tapestry's philosophy is that components (including pages) are and should
> be black boxes, so the normal flow is from top to down, not the opposite.
>
> You'll need to use the Environmental service in your page and add some
> custom object on it, typically in @BeginRender. Then, in your component, you
> invoke some method in this object. In the page, in some event after
> @BeginRender, you get the value back.



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to