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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]