Hello all,

I am trying to better understand how T5 components work and I would like to
know what the difference is between @Environmental and @Inject and when to
use which in the context of component developpement of course.

For instance having a look under the hood of t:checklist, I noticed that
the validation tracker is injected by the @Environmental annotation as
follows:

*@Environmental*
*private ValidationTracker tracker;*

whereas the javascript support variable is injected by the @Inject
annotation as follows:

*@Inject*
*private JavaScriptSupport javaScriptSupport;*
*
*
Any reason why that is?

Regards,

Julien.

Reply via email to