If your PDF service extends PageService, your problem is described here: http://issues.apache.org/jira/browse/TAPESTRY-568
The solution is - get latest version of PageService from CVS On 8/17/05, Eric Schneider <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having trouble injecting a custom IEngineService into a > component. I'm essentially implementing a component that mirrors > the regular Tapestry PageLink (called PDFPageLink). All the > component is suppose to do is render the links with the correct > service name. > > Referencing the service in the .jwc doesn't seem to work: > > <inject property="pageService" object="engine-service:pdfpage"/> > > Oddly, it doesn't throw, but it seems to use the regular PageService > to generate the link. Should I be using a different object prefix > in the in my inject declaration? (i.e. something either than "engine- > service"?) > > Thanks, > Eric > > > hivemodule.xml > > <contribution configuration-id="tapestry.services.ApplicationServices"> > <service name="pdfpage" object="service:PDFPageService"/> > </contribution> > > <service-point id="PDFPageService" > interface="org.apache.tapestry.engine.IEngineService"> > <invoke-factory> > <construct class="pdf.PDFPageService"> > <set-object property="exceptionReporter" > value="infrastructure:requestExceptionReporter"/> > <set-object property="response" > value="infrastructure:response"/> > <set-object property="linkFactory" > value="infrastructure:linkFactory"/> > </construct> > </invoke-factory> > </service-point> > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
