On 06/21/2011 01:49 PM, Thiago H. de Paula Figueiredo wrote:
> On Tue, 21 Jun 2011 07:37:51 -0300, martijn.list
> <martijn.l...@gmail.com> wrote:
> 
>> It took me some time to get rid of the "tapestry Construction of service
>> 'ServiceOverride' has failed due to recursion" error at startup but the
>> following lines added to the AppModule work
>> public static void bind(ServiceBinder binder)
>> {
>>   binder.bind(ClientDataEncoder.class, HMACClientDataEncoder.class).
>>         withId("HMACClientDataEncoder");
>> }
> 
> Plase try this:
> 
> public static void contributeServiceOverride(
>     MappedConfiguration<Class<?>,Object> configuration,
>         HMACClientDataEncoder override) {
>    configuration.add(ClientDataEncoder.class, override);
> }
> 

that seems to result in:

Construction of service 'ServiceOverride' has failed due to recursion:
the service depends on itself in some way.

Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to