Ryan <crumley <at> gmail.com> writes:

> In tapestry 4 I have the nice option of injecting the user data ASO
> into my page and calling getUserData() to retrieve it. The problem is
> that as soon as I call getUserData() it will cause my application to
> go stateful. The only method I have seen to avoid this is to use the
> StateObjectPersistenceManager to determine if that ASO exists. The
> problem with this approach is that I cant inject the ASO into my page
> so I am forced to retrieve it myself then cast it to the correct type
> and continue my logic:

You can still inject the ASO. As long as you don't call the getter,
the ASO won't be created.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to