Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor formatting

...

The following types are supported for resources injection:

  • java.lang.String The complete id of the component, which incorporates the complete class name of the containing page and the nested id of the component within the page.
  • java.util.Locale The locale for the component (all components within a page use the same locale).
  • org.slf4j.Logger A Logger instance configured for the component, based on the component's class name. SLF4J is a wrapper around Log4J or other logging toolkits.
  • org.apache.tapestry5.ComponentResources The resources for the component, often used to generate links related to the component.
  • org.apache.tapestry5.ioc.Messages The component message catalog for the component, from which localized messages can be generated.

Explicit Service Injection

...