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:
div jwcid=@Component
pThis is
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
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
=ognl:currentValue.someOtherProp /
...
So it's something similar like @For component but with pagination and
filtering :)
-Original Message-
From: andre...@gmail.com [mailto:andre...@gmail.com] On Behalf Of Andreas
Andreou
Sent: Friday, August 14, 2009 3:46 PM
To: Tapestry users
Subject: Re: Render body