Please try something like this in .page:

@InjectObject("service:tapestry.globals.WebRequest")
public abstract WebRequest getWebRequest()


Shing


--- Josip Gracin <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> Nick Westgate wrote:
> >         RequestContext requestContext = 
> > event.getRequestCycle().getRequestContext();
> 
> I've thought about that, yes, but it seemed like a
> bit of a hack.  Is 
> this the right way to do it in Tapestry 4 (except
> that instead of 
> calling getRequestContext(), the context should be
> injected into pages. 
>   BTW, how do I do that)?
> 
> Thanks for answering!
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ 
All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to