Look at RequestContext's methods addCookie(), getCookie() and getCookieValue(). You can get the RequestContext from the RequestCycle.
----- Original Message ----- From: "Derek Smith" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, May 17, 2005 5:53 PM Subject: How to use cookies with Tapestry? > Hello all, > I'm relatively new to web programming (I'm more > familiar with Swing) and I'm using Tapestry to build > several small applications. I've learned a lot from > online examples and Tapestry In Action but, I haven't > seen a simple tutorial for how to use Cookies. Does > anyone have one or an example? I'd like to write a > value (like an int or an object) to the cookie and > then retrieve it later. > > If anyone knows Howard Lewis Ship, please tell him > that I love TIJ but an example with cookies would be > helpful > > Thanks, > Derek > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
