Re: Accessing page context from a component

2009-09-28 Thread Sergey Didenko
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

Re: Accessing page context from a component

2009-09-28 Thread Peter Stavrinides
" 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

Re: Accessing page context from a component

2009-09-22 Thread Sergey Didenko
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

Re: Accessing page context from a component

2009-09-14 Thread Howard Lewis Ship
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

Re: Accessing page context from a component

2009-09-14 Thread Otho
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

Re: Accessing page context from a component

2009-09-14 Thread chakra
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

Re: Accessing page context from a component

2009-09-13 Thread Howard Lewis Ship
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 > > >

Re: Accessing page context from a component

2009-09-13 Thread ningdh
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:

Accessing page context from a component

2009-09-13 Thread chakra
. 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