Dependency injection is much easier in 4.1. Tapestry will "autowire" HiveMind services into your components/pages (provided that there is exactly one service in the registry of the same type as the property). If you're on 4.0, there's a tapestry-autowire subproject (the code was added into Tapestry in 4.1) in the [EMAIL PROTECTED] project. It's available via svn:
http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk/ > You might like to check out the following page. > > http://lombok.demon.co.uk/tapestry4Demo/Inject.html > > Shing > > -- Marcus Irven <[EMAIL PROTECTED]> wrote: > >> I have created a new engine service, how can I >> access a State Object? >> >> Thanks, >> Marcus >> >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> > > > Home page : > http://uk.geocities.com/matmsh/index.html > > > > > > ___________________________________________________________ > All new Yahoo! Mail "The new Interface is stunning in its simplicity and > ease of use." - PC Magazine > http://uk.docs.yahoo.com/nowyoucan.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > James Carman, President Carman Consulting, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]