Sorry, I sent the mail too early... :-)

I'm getting a RuntimeException "Unknown encoder dependency 'excel' (for
'report')"...
basically I don't know what I should type for my 'before' attribute.
I put the service name but obviously it's wrong.
I really cannot figure out what's wrong...

Paolo


On 11/3/05, Paolo Donà <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
> I'm trying to set up friendly URLs for a custom service which downloads a
> generated excel spreadsheet.
> Everything's fine with ugly urls, but cannot setup the friendly ones...
>
> This is my hivemodule config:
>
> <contribution configuration-id="tapestry.services.FactoryServices">
> <service name="excel" object="service:Excel"/>
> </contribution>
>
> <service-point id="Excel" interface="
> org.apache.tapestry.engine.IEngineService">
> <invoke-factory>
> <construct class="it.archeometra.flotte.business.balance.ExcelService">
> <set-object property="linkFactory" value="infrastructure:linkFactory"/>
> <set-object property="response" value="service:
> tapestry.globals.WebResponse"/>
> <set-object property="balanceService" value="spring:balanceService"/>
> </construct>
> </invoke-factory>
> </service-point>
>
> <contribution configuration-id="tapestry.url.ServiceEncoders">
> <encoder id="report" before="excel"
> object="instance:
> it.archeometra.flotte.business.balance.ExcelServiceEncoder"/>
> </contribution>
>

Reply via email to