You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Wayne Wang <se...@gmail.com> on 2005/10/19 11:15:39 UTC

How to invoke method in ServletWebResponse class

Hi,
In beta-11,I found some new methods,eg:setHeader,setDateHeader.
My problem is how to invoke these methods in my Page.

--
Thanks in advance.

Re: How to invoke method in ServletWebResponse class

Posted by Shing Hing Man <ma...@yahoo.com>.
In your page, have you tried the following ?

@InjectObject("service:tapestry.globals.WebRequest")
public abstract WebResponse getWebResponse();


Shing


--- Wayne Wang <se...@gmail.com> wrote:

> Hi,
> In beta-11,I found some new
> methods,eg:setHeader,setDateHeader.
> My problem is how to invoke these methods in my
> Page.
> 
> --
> Thanks in advance.
> 


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


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

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