I've managed to achieve something by making the "container" a component AND a property on my test page:
@Property @Component(id="container") private Container container; but this seems like a bit of a hack, there must be a neater way of doing this! Toby ----- Original Message ---- From: Toby Hobson <[EMAIL PROTECTED]> To: tapestry <users@tapestry.apache.org> Sent: Friday, 16 May, 2008 3:15:57 PM Subject: Making a property available to nested components Hi I am looking to achieve something similar to the way in which JSP custom tags work - I would like to make a property of a component available to nested components/markup e.g. TestPage.tml: <t:container value="container"> hello ${container.user.name} </t:container> Container { @Property User user; @PageAttached() void attach() { ... load and process "user" } } But i can't find a way to do this. I know it can be done because the loop component works like this. Does anyone have any ideas? Thanks Toby