You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Schröder <Pe...@freenet-ag.de> on 2007/04/12 10:55:13 UTC
T4 aso in service
hi,
i want to access some state-object in an engine-service. currently i am doing that by injecting the ApplicationStateManager and getting the object from it. is there a more elegant way to do that (via hivemind?)?
kind regards,
peter
-----Ursprüngliche Nachricht-----
Von: Andreas Pardeike [mailto:ap@fsys.se]
Gesendet: Donnerstag, 12. April 2007 09:42
An: Tapestry users
Betreff: Tapestry 5 Redirects
On 12 apr 2007, at 03.29, Howard Lewis Ship wrote:
> Every request is a page redirect in T5. Check the URLs in the browser
> as you work through the application.
Is that clever design? I can think of several reasons why this could be
a bad idea. What's the reasoning behind this?
Andreas Pardeike
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
AW: T4 aso in service
Posted by Holger Stolzenberg <h....@ewerk.com>.
We are going this way:
public void service( IRequestCycle cycle )
{
ApplicationStateManager manager = cycle.getInfraStructure().getApplicationStateManager();
YourObject o = (YourObject)manager.get( "HiveMindASOKey" );
}
-----Ursprüngliche Nachricht-----
Von: Peter Schröder [mailto:Peter.Schroeder@freenet-ag.de]
Gesendet: Donnerstag, 12. April 2007 10:55
An: Tapestry users
Betreff: T4 aso in service
hi,
i want to access some state-object in an engine-service. currently i am doing that by injecting the ApplicationStateManager and getting the object from it. is there a more elegant way to do that (via hivemind?)?
kind regards,
peter
-----Ursprüngliche Nachricht-----
Von: Andreas Pardeike [mailto:ap@fsys.se]
Gesendet: Donnerstag, 12. April 2007 09:42
An: Tapestry users
Betreff: Tapestry 5 Redirects
On 12 apr 2007, at 03.29, Howard Lewis Ship wrote:
> Every request is a page redirect in T5. Check the URLs in the browser
> as you work through the application.
Is that clever design? I can think of several reasons why this could be a bad idea. What's the reasoning behind this?
Andreas Pardeike
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org