I see, we are actually talking about "state in page" vs "state in
component" approaches.
>> the component encapsulates the knowledge about specific
>> url parameters that it needs
> So given the above this appears to me to be paradoxical, if you are going to
> encapsulate the url parameters then
"
Sent: Tuesday, 22 September, 2009 12:01:14 GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: Re: Accessing page context from a component
Chakra words reminds me of the interesting idea for components to have
their independent activation context. That page is not aware of.
In this case th
Chakra words reminds me of the interesting idea for components to have
their independent activation context. That page is not aware of.
In this case the component encapsulates the knowledge about specific
url parameters that it needs. And can be reused on different pages
without altering them. For
t the page context?
> >
> > That will make life much easier.
> >
> > Chakra
> > --
> > View this message in context:
> >
> http://www.nabble.com/Accessing-page-context-from-a-component-t
dd support for
> onActivate method in components also,to get the page context?
>
> That will make life much easier.
>
> Chakra
> --
> View this message in context:
> http://www.nabble.com/Accessing-page-context-from-a-component-tp25422102p25433429.html
> Sent from the Tapestry
thanks for the responses.
Is there any plan in future releases of tapestry, to add support for
onActivate method in components also,to get the page context?
That will make life much easier.
Chakra
--
View this message in context:
http://www.nabble.com/Accessing-page-context-from-a-component
to get
> PageRenderRequestParameters.
> It contains the activationContext.
>
> DH
> http://www.gaonline.com.cn
>
> - Original Message -
> From: "chakra"
> To:
> Sent: Sunday, September 13, 2009 6:36 PM
> Subject: Accessing page context from a component
>
>
>
September 13, 2009 6:36 PM
Subject: Accessing page context from a component
>
> Hi All,
> Is there any easy way of accessing page context from within a component?
>
> I have a page page1 containing components comp1 and comp2
>
> I am accessing the page as http://localhost:
.
Is there any way of achieving the same inside comp1 and comp2 also?
Chakra
--
View this message in context:
http://www.nabble.com/Accessing-page-context-from-a-component-tp25422102p25422102.html
Sent from the Tapestry - User mailing list archive at Nabble.com