Would the following be fix the redirect?

<implementation service-id="tapestry.services.Restart">

 <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >

<construct class="RestartService" >
<set-service property="request" 
service-id="tapestry.globals.HttpServletRequest" />
<set-service property="response" 
service-id="tapestry.globals.HttpServletResponse" />
<set-object property="servletPath" value="literal:/" />
<set-object property="linkFactory" value="infrastructure:linkFactory" />
</construct>
</invoke-factory>

</implementation>



Or



<contribution configuration-id="hivemind.FactoryDefaults">

<default symbol="org.apache.tapestry.servlet-path" value="/"/>

</contribution>



Or change Restart service to act like Home service



Henrik

"hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
>I followed the instructions on friendly urls for T4, and it works just fine 
>except for one thing.
>
> The exception page correctly links to '/restart.do', but when you follow 
> the link it gets redirected to '/app' rather than '/'
>
> Is this a bug or didn't I configure it correctly?
>
> <contribution configuration-id="tapestry.url.ServiceEncoders">
>
> <direct-service-encoder id="direct" stateless-extension="direct" 
> stateful-extension="sdirect"/>
>
> <page-service-encoder id="page" extension="htm" service="page"/>
>
> <page-service-encoder id="external" extension="external" 
> service="external"/>
>
> <asset-encoder id="asset" path="/assets"/>
>
> <extension-encoder id="ext" extension="do" after="*"/>
>
> </contribution>
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to