You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Geoff Longman <gl...@intelligentworks.com> on 2003/02/25 19:39:12 UTC

Re: How to access session before page loads

You could create a custom Home service.

look at net.sf.tapestry.engine.HomeService

you would customize the service() method.

Geoff
----- Original Message ----- 
From: "Stav" <cc...@yahoo.com>
To: <ta...@jakarta.apache.org>
Sent: Tuesday, February 25, 2003 1:39 PM
Subject: How to access session before page loads


> Hi,
> 
> I am trying to integrate a prototype Tapestry app with
> an existing web application that has already set
> certain user specific parameters in the session.
> 
> The applications are in the same web context.
> 
> How would I go about accessing the session before the
> Home page loads so that I can setup the Home page?
> 
> I am currently using Tapestry version 2.1.
> 
> I have tried using BasePage.getRequestCycle(), but
> this object appears to be null at first page load.
> 
> Thanks in advance.
> 
> Cheers,
> Stav.
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>