tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Tong <k...@cpttm.org.mo>
Subject Re: Need help in generating cookies in tapestry4.0v
Date Thu, 01 Sep 2005 10:32:19 GMT
Anjali Abraham <anjalia <at> aztec.soft.net> writes:

> 
> Hi All,
>             I need code related help in generating cookies for my pages in
> tapestry4.0v like what I need to put the codes in .page and my java file..

class MyPage {
  @InjectObject("service:tapestry.request.CookieSource")
  public abstract CookieSource getCookieSource();
  ...
  void foo() {
    getCookieSource().writeCookieValue(...);
  }
}

--
Author of e-book for learning Tapestry (www.agileskills2.org/EWDT)


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


Mime
View raw message