RE: decorateClientInfrastructure not called anymore

2010-06-30 Thread Jim O'Callaghan
Shouldn't decorator methods fail with a message that 'decorated xyz service doesn't exist'? It would make it a lot easier to find things like this ... Regards, Jim. -Original Message- From: Christian Koller [mailto:christian.kol...@net-m.ch] Sent: 30 June 2010 12:38 To: Tapestry users

Re: decorateClientInfrastructure not called anymore

2010-06-30 Thread Howard Lewis Ship
Yes, it's an issue. Probably, if there is no @Match annotation, then the implicit service id (from the method name) should be required to exist. On Wed, Jun 30, 2010 at 4:53 AM, Jim O'Callaghan jc1000...@yahoo.co.uk wrote: Shouldn't decorator methods fail with a message that 'decorated xyz

RE: decorateClientInfrastructure not called anymore

2010-06-30 Thread Jim O'Callaghan
Raised https://issues.apache.org/jira/browse/TAP5-1196 as a possible improvement. Regards, Jim. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 30 June 2010 21:05 To: Tapestry users Subject: Re: decorateClientInfrastructure not called anymore Yes, it's

RE: decorateClientInfrastructure not called anymore

2010-06-24 Thread Kristian Marinkovic
Hi Christian, Advices have been introduced in 5.1 to replace decorators. please see: http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html the 5.2-SNAPSHOT documentation does not state that decorators are not supported anymore. the last time i was playing with 5.2 (some weeks ago)

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
Hi Which service are you trying to decorate ? 2010/6/24 Christian Koller christian.kol...@net-m.ch Hi kris Thank you for your response. I'll try out Advisors now. Still decoration isn't working for me. Has someone faced the same problem? thx chris On 24.06.2010, at 12:24, Kristian

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
oups i should read the title :) 2010/6/24 Christophe Cordenier christophe.corden...@gmail.com Hi Which service are you trying to decorate ? 2010/6/24 Christian Koller christian.kol...@net-m.ch Hi kris Thank you for your response. I'll try out Advisors now. Still decoration isn't

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
Hi Are your services loaded ? Is your module class correctly loaded (see stack on startup) 2010/6/24 Christian Koller christian.kol...@net-m.ch Hi I tried to decorate ClientInfrastructure. With the old tapestry version it was called, then i changed only the tapestry version to

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Howard Lewis Ship
Actually, decorators are used when you know, and compile time, what interface the service implements and you want to provide a specific object, implementing that interface, as the interceptor (the wrapper around the core service implementation). Advice is used when you want to dynamically analyze