Somehow that error dissapeared now , but I am getting something at the injection line .
<inject property="pdfService" object="service:pdfService"/> Error at context:/WEB-INF/tests/ServiceTest.page, line 20, column 84: Error adding property pdfService to class tests.ServiceTest: Service point tapestry.pdfService does not exist. My hivemodule.xml is the same as before ... I tried literal in front of value="literal:pdfService"/> and i got errors that it can't be found . Also tried object="literal:pdfService" but got some more errors and i didn't think it should be used there . On 3/26/06, Mike Snare <[EMAIL PROTECTED]> wrote: > > <component id="serviceLnk" type="ServiceLink" > > > <binding name="service" value="pdfService" /> > > </component> > > I think you want to use a literal: binding prefix on the value for > service. What's happening is your expression 'pdfService' is an ognl > expression that resolves to a call to getPdfService() on the class. > It takes the resulting service and calls toString to generate the > link. Since the actual object returned from getPdfService is a proxy > (apparently an 'OuterProxy', to be specific) the link is hosed. > > Try: > <component id="serviceLnk" type="ServiceLink" > > <binding name="service" value="literal:pdfService" /> > </component> > > --------------------------------------------------------------------- > 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]
