Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Injection in Tapestry IOC Services

Main Article: Injection in Detail

The Tapestry IoC container makes use of injection primarily through constructors and via parameters to service builder methods.

...

For field type Block, the value of the Inject annotation is the id of the <t:block> element within the component's template. Normally, the id of the block is determined from the field name (after stripping out any leading "_" and "$" characters):

...

Asset Injection

Main Article: Injection Assets

When the @Path annotation is also present, then the injected value (relative to the component) will be a localized asset.

...

Anonymous injection is controlled by the InjectionProvider service. The configuration for this service is a chain of command for handling component injections.