On Thu, 27 May 2010 23:32:38 -0300, Paul Stanton <p...@mapshed.com.au>
wrote:
Hi Thiago,
Hi!
please bare with me... I'm not imagining it. I'm guessing it's something
to do with my manually created ajax request...
Tapestry's session handling works the same regardless how the request was
made.
I'm not inspecting via debugger, I'm testing the value of the field in
code, ie:
via @Persist("session")
if (persistentField == null) LOG.debug("state reset");
I don't know if that's the case, but a persistent field from a given page
is only accessible in the same page, even when some other page has a
similar field.
and via the @SessionState
if (!persistentFieldExists) LOG.debug("state reset");
Use @SessionState(create = false) instead and test for null.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org