Hi
Are you binding your service in the Module class ?
public static void bind(ServiceBinder binder){
binder.bind(Facade.class, FacadeImpl.class); //In case it is an
interface/impl
binder.bind(ImplBO.class) // In case it is a class
}
regards
Taha
On Sep 15, 2012, at 7:54 AM, Diego Barreto wrote:
> Hi,
>
> I know that i'm doing something wrong, but I don't know what!
>
> I'm just trying to inject a simple class (Facade for my BO's) in a page,
> like:
>
> @inject
> private Facade facade;
>
> In my Facade I receive an BO implementation with inject too:
>
> @Inject
> private ImplBO implBO;
>
> This code works in other project, but the other project is not using
> Tapestry and it uses other CDI implementation too.
>
> All of @Inject is pointing to: org.apache.tapestry5.ioc.annotations.Inject
>
> I have to anotate the classes with something or implement some interface ?
>
> Thanks
>
> Diego Barreto
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]