FWIW, when I got back to the override issue after a few days of
unrelated work (mostly expanding the registry with a few unrelated
services), suddenly this started to work:
@SubModule( { ServicesModule.class })
public class AppModule {
public static void contributeServiceOverride(
Ok, not very specific, but I found what you are referring to.
Unfortunately @Local annotation on the override itself doesn't help.
It seems like I have to define local versions of all dependencies,
which is something I'd really like to avoid for stateless services. A
similar structure of se
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/cookbook/override.html
On Fri, Apr 2, 2010 at 3:58 AM, Andrus Adamchik wrote:
> Hi guys,
>
> having a bit of trouble overriding my services with T5.2 (build from a few
> days ago ... can't use 5.1 due to some bugs that got fixed in 5.2). I have
Hi guys,
having a bit of trouble overriding my services with T5.2 (build from a
few days ago ... can't use 5.1 due to some bugs that got fixed in
5.2). I have AppModule and a submodule:
@SubModule( { ServicesModule.class })
public class AppModule {
public static void bind(ServiceBi