Hi again, I think that I have to describe the whole scenario so you can
understan why i have written the question of the first email.
Here is my situation:
* I have two pages p1 and p2, each page belongs to layout A. This layout
contains two tabs, one is p1 and the other is p2.
* If I go to p1 page from two special pages I want to see just this two
pages p1 and p2, but if I came from any other page I want to see that two
pages plus three others, so I need other layout that contains the five
pages.
What is the best solution to resolve this problem?
Thanks !
2011/6/23 Thiago H. de Paula Figueiredo <[email protected]>
> On Thu, 23 Jun 2011 12:34:22 -0300, Muhammad Mohsen <[email protected]>
> wrote:
>
> May be a primitive solution like, when a page is "attached", it sets a
>> session variable unique to the page ?
>>
>
> I don't think that would work well. You'd need to add this code to all
> pages or at least add this code to a mixin to be added to all pages.
> I'd just write a ComponentRequestFilter that would set a session state
> object.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>