I think you have to do it indirectly by injecting the ApplicationManager into your service. Then in your service, retrieve the desired ASO using the ApplicationManager. There is a how-to on this at the following.
http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing --- [EMAIL PROTECTED] wrote: > Hi, > > I have a application object defined in my > hivemodule.xml: > > <contribution > > configuration-id="tapestry.state.ApplicationObjects"> > <state-object name="ApplicationSession" > scope="application"> > <create-instance > class="mypackage.ApplicationSession" /> > </state-object> > </contribution> > > I have a new engine service that I am trying to > create: > > <service-point id="ExcelToBrowser" > interface="org.apache.tapestry.engine.IEngineService"> > <invoke-factory model="singleton"> > <construct class="mypackage.ExcelToBrowser" > > <set-object property="linkFactory" > value="service:tapestry.url.LinkFactory" > /> > <set-object property="applicationSession" > value="????" /> > </construct> > </invoke-factory> > </service-point> > > What do I need to put in the set-object property to > access ApplicationSession? > > Thanks in advance, > Amir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]