You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2011/01/02 03:28:26 UTC
[Tapestry Wiki] Trivial Update of "InjectASOIntoService" by BobHarner
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "InjectASOIntoService" page has been changed by BobHarner.
The comment on this change is: outdated note.
http://wiki.apache.org/tapestry/InjectASOIntoService?action=diff&rev1=5&rev2=6
--------------------------------------------------
+ || NOTE: This is outdated information that applies only to Tapestry 4. ||
+
= How to inject an Application State Object (ASO) into a Tapestry service =
Instead of injecting an ASO directly into a Tapestry service, we need to inject an Application``State``Manager and use the Application``State``Manager to retrieve the desired ASO. Suppose you would like to inject the ASO message into the service asoService. The following piece of hivemodule.xml shows how it could be done.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org