Hi ,

and sorry for bringing this question up again as i'm sure and i've
seen that it's been asked and discussed on several other occasions on
the list .

It's the first time I am trying this , and since up untill today , I 
did my best to avoid using Hivemind , I am at a loss on the big
picture , and can't get it to work for me .

I am trying to have a IEngineService that serves a PDF . I have seen
some nice step by step explanations on the list , but unfortunatelly I
wasn't able to get my scenario to work using those or the information
found on pages :
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ServiceLink.html
http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html
but then again , i'm sure that it's probably me missing on some of the
details .

I won't show code from my service just yet , as it's idetical to other
code explained here by someone as : public class ExcelToBrowser
implements IEngineService { ( if anyone wanted to have a searchable
reference to the other thread ) .

My prolems are arround configuring the service with hivemind and
accessing it in the tapestry page . In hivemodule I have added :

<contribution configuration-id="tapestry.services.ApplicationServices">
         <service name="pdfService" object="service:PdfService" />
    </contribution>


    <service-point id="PdfService"
interface="org.apache.tapestry.engine.IEngineService">
     <invoke-factory model="singleton">
      <construct class="myPackage.PdfService" />
     </invoke-factory>
    </service-point>

I then injected this into my page :

<inject property="pdfService" object="engine-service:pdfService"/>

And tried configuring a single link component on my test page :

<component id="serviceLnk" type="ServiceLink" >
               <binding name="service" value="pdfService" />
       </component>

This configuration leaves me  at a dead end with the page showing a
"dead end" type of error : No engine service named '<OuterProxy for
engine service 'pdfService'>' is available.

Any insights would be greately appreciated ,
Thanks ,
Cosmin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to