Em Mon, 18 May 2009 13:44:44 -0300, Chuck Kring <cjkr...@pacbell.net> escreveu:

Hi everybody,

Hi!

I need to cleanup the persistent fields when the page is no longer in use and I'm considering using the window onunload event
and a hidden eventlink to trigger the page to clean up.

You don't need a hidden eventlink: just use ComponentResources.createEventLink() to generate the event URL and make your Javascript call it. ComponentResources.discardPersistentFieldChanges() removes all persistent field values from the session.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to