Hi

Thanks again for this effort of documentation.

I have a question about dependency injection between services.

We can inject a service thanks to the @Inject annotation in a page component.
I find this feature pretty handy.

But (correct me if I'm wrong but I think I'm not because I test it) we can't @Inject a service in a sercice. Instead we must provide the service to the other service through its constructor.

Why did you make this choice ?

I would find useful as well to inject a service in a service with the same annotation ?

Michael


Howard Lewis Ship a écrit :
I've been working on new documentation about Tapestry IoC (similar
stuff will be coming for Tapestry core):

Overview:

http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/overview.html

Cookbook:

http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/cookbook/index.html

Feedback is encouraged!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to