RE: T5: Decorating A Service In a Sub Module

2007-11-19 Thread David Kendall
I haven't used decoration before, but I'm guessing that even with decorators you must still provide a service id. Chris: Thanks for your reply. As I understand decorators - the service id is the same as the service it is decorating. This is because a decorator is a wrapper around a service

Re: T5: Decorating A Service In a Sub Module

2007-11-19 Thread Massimo Lusetti
On Nov 19, 2007 6:40 PM, David Kendall [EMAIL PROTECTED] wrote: Is there anyone on this list who does have experience with using decorators in a sub-module and can tell me what I am doing wrong - or who can verify this is a bug in T5? I'm using decorators in a sub module, BTW i don't see

Re: T5: Decorating A Service In a Sub Module

2007-11-17 Thread Chris Lewis
I think its just an ID problem, as the exception suggests. I haven't used decoration before, but I'm guessing that even with decorators you must still provide a service id. In your example you do not, so its probably getting assigned the simple class name of your implementation

T5: Decorating A Service In a Sub Module

2007-11-16 Thread David Kendall
I am working on a sizable application where I am trying to decorate the PageRenderRequestHandler service. I have two modules - a Main Module and a Sub Module. The Sub Module is loaded using the @SubModule annotation on the Main Module. Both modules are trying to decorate the