You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dimitri <di...@gmail.com> on 2011/09/16 22:14:58 UTC

PageRenderLinkTransformer, SessionState and InjectPage

Hi all,
I m using the new PageRenderLinkTransformer thing, very helpful but, in the
decodePageRenderRequest i would like to set up some things for others pages.
I can do it either by injecting page and call the appropriate methods one
those, or use a session state object. 

Unfortunately, the SessionState object does always result as null in the
next pages. 
Injected pages are not injected as well, and throw NPE when calling the
appropriate method on those. 

Looks like i have to use the context, yes, that is why the EventContext
stands for, but i don't understand why such a mechanism and why i can't use
SessionState or page injection. 

Thank you for you help. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/PageRenderLinkTransformer-SessionState-and-InjectPage-tp4811846p4811846.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: PageRenderLinkTransformer, SessionState and InjectPage

Posted by Dimitri <di...@gmail.com>.
Thx you for you quick reply Thiago, very helpful to me !

--
View this message in context: http://tapestry.1045711.n5.nabble.com/PageRenderLinkTransformer-SessionState-and-InjectPage-tp4811846p4815693.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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