Hi Thiago,

The block approach sounds right to me, will try that, thanks.


Thiago H. de Paula Figueiredo wrote:
> 
> Em Wed, 04 Mar 2009 23:23:14 -0300, Angelo Chen  
> <angelochen...@yahoo.com.hk> escreveu:
> 
>> Hi Thiago,
> 
> Hi!
> 
> 
>> Thanks, Inject page is an option, it will look like this:
>> localhost/mycars
>> localhost/mycarsaqua
> 
> You're right . . .
> 
>> is there a way that, even I inject MyCarAqua, its url still
>> localhost/mycars?
> 
> I've never actually tried it, but I would create a block (or component) in  
> each alternate page, create a getter that returns this block, inject the  
> alternate pages in MyCars and use the Delegate component to render the  
> block. This is similar to how BeanEditFrom/BeanEditor works: it renders  
> components and blocks that are located in other pages.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-alternative-template-tp22343366p22344212.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