The only thing that I can think of is delegate and blocks.

Is there a reason why the layout cannot be an empty component with a
delegate, and then the delegate gets the block to render from java property
that determines which (layout)block to use? In this model the block contains
the actual complete layout?

All (layout)blocks must of course have the same parameters etc. The page
content could be then made available to the layout block as a ... well
block, which could be then rendered using a ... delegate.. :)

 - Ville


Pablo Henrique dos Reis wrote:
> 
> Is there a way to set the component's type in run time?
> 
> 
> I need to choose the layout by onActivate parameter.
> 
> 
> 
> 
> -- 
> Pablo Henrique dos Reis
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Dynamic-Type-tp29346974p29347295.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to