Hi,
Thank you for the quick reply!
Howard Lewis Ship wrote:
On Feb 18, 2008 10:26 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote:
Hi,
<snip/>
I've tried injecting "Cookies" and using the read method in
beforeRender() and the write method called from page onSuccess(), but
without success.
That's somewhat surprising, but may be a side-effect of Tapestry's
sending client-side redirects (I have to check to make sure cookies
work in that situation... they should).
Perhaps its the method name: beginRender() not beforeRender().
Changing the name of the method did the trick. I guess I should pay more
attention when reading the docs ;)
Btw. is it possible to hook up the "save to cookie"-step to an event
directly in the component? (No point in having to manually call the
saveToCookie() methods of the components from the page, if there is a
reasonable event to act on).
--
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]