You can, of course, simulate the dynamic component behavior using
block/render block.
Since you can pull your block to be rendered from anywhere (even other
pages), you can define your components components to be added within a
page besides the one that's rendering, and get the effect of dynamic
component addition.
Robert
Patrick Casey wrote:
I think what he's getting at is this:
The way tapestry works today, a page is a static tree of components.
Based on various conditional statements, not every component in the tree
gets built for a specific page render, but they actual set of components is
fixed at design time.
He'd like to be able to programmatically add a new component to the
page tree at run time.
--- Pat
-----Original Message-----
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 9:06 AM
To: Tapestry users; Tapestry users
Subject: RE: instantiating components directly
Can you be more specific about how you want to "instantiating components
directly". I am just trying to understand the definition. Do you want to
"draw" a page on the fly? Taking components and re-arranging them on the
page or on a new page? Or creating components that don't exist at the
start of the server but they do later?
thanks,
Mark
-----Original Message-----
From: Jorge Quiroga [mailto:[EMAIL PROTECTED]
Sent: Thu 1/12/2006 9:58 AM
To: Tapestry users
Subject: Re: instantiating components directly
This issue about dynamic component generation should be considered
seriously for the next major release, because is very necessary and
asked by the community, after all, if almost all are components it
should be possible (if ASP.NET and others can, why not tapestry?).
I'm newbie with T4, and that T4 cannot do it has been very annoying and
for some cases (specially when navigation is defined by state) I have to
choose the less simpler path, and the most simple is one of the claimed
policies in Tapestry, of course T4 isn`t a web panacea, but this is a
really community need.
Thanks.
JQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]