Annotation Type Mixin


Defines an implementation mixin for a component.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines an ordering constraint for when the mixin should be applied in relation to other mixins.
    Defines the type of mixin, using a logical mixin name.
  • Element Details

    • value

      Defines the type of mixin, using a logical mixin name. This value takes precedence over the type of field (to which the annotation is attached). In such cases, it is presumed that the field's type is an interface implemented by the actual mixin. The default value (the empty string) directs Tapestry to use the field type as the mixin class to instantiate and attach to the component.
      Default:
      ""
    • order

      Defines an ordering constraint for when the mixin should be applied in relation to other mixins. The string is analagous exactly to the strings used to define ordered contributions. Eg: @Mixin(order={"before:mixina","after:mixinb"}). The ids are mixin names and are case insensitive.
      Since:
      5.2.0.0
      Default:
      {}