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>
