You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vincent <vi...@gmail.com> on 2006/02/03 09:51:52 UTC

Re: How to popup excel file in the IE?

Thanks guys, I got it and also works well :-)

On 1/27/06, Raul Raja Martinez <do...@estudiowebs.com> wrote:
> In Tapestry 4 when you create an Engine Service you have to tell your
> hivemodule.xml that it exists so that Hivemind injects the service when
> needed.
> You might want to look at an introduction of IoC
> http://www.martinfowler.com/articles/injection.html
>
> Hivemind is kind of a inversion of control container, you declare
> services into it and the you can later inject them anywhere in your
> application. for example you could create a :
> Database access service with a singleton pattern and the when needed you
> could just inject it into one of your components or pages without the
> need of having to instantiate it.
>
> It is way easier than it looks and its way powerful.
>
> best regards.
>
> Raul.
>
>
> Vincent wrote:
> >>> Later in your hivemodule.xml:
> >>>
> >>> <contribution configuration-id="tapestry.services.ApplicationServices">
> >>>   <service name="pdf" object="service:ExcelToBrowser" />
> >>> </contribution>
> >>>
> >>> <service-point id="ExcelBrowser"
> >>> interface="org.apache.tapestry.engine.IEngineService">
> >>>   <invoke-factory model="singleton">
> >>>    <construct class="yourpackage.ExcelToBrowser" />
> >>>   </invoke-factory>
> >>> </service-point>
> > Hi guys,
> >
> > Thank you for you information , I am new to Tapestry , what does this
> > needs to use
> > hivemodule.xml?
> >
> > regards,
> > Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>