RE: Render body of the component in some other component

2009-08-14 Thread Marko Mrkus
Sent: Friday, August 14, 2009 3:46 PM To: Tapestry users Subject: Re: Render body of the component in some other component use RenderBody instead of InnerComponent If for every iteration you want to pass dynamic data from @Component to the components that exist in the body of @Component, you ca

Re: Render body of the component in some other component

2009-08-14 Thread Andreas Andreou
use RenderBody instead of InnerComponent If for every iteration you want to pass dynamic data from @Component to the components that exist in the body of @Component, you can use the requestCycle, i.e. cycle.setAttribute() cycle.getAttribute() On Fri, Aug 14, 2009 at 4:27 PM, Marko Mrkus wrote: >

Re: Render body of the component in some other component

2009-08-14 Thread Richard Kirby
Yes - that is exactly what @RenderBody does. Cheers Richard Marko Mrkus wrote: Sorry, formatting of the last message was awful... Here's the message again: Hi, all! Can you tell me is it possible to render body of a component in some other component which is wrapped by this first one in Tapes

RE: Render body of the component in some other component

2009-08-14 Thread Marko Mrkus
Sorry, formatting of the last message was awful... Here's the message again: Hi, all! Can you tell me is it possible to render body of a component in some other component which is wrapped by this first one in Tapestry 4.1? I have an example: Page html: This is top level component's b