Annotation Type Mixin

    • Optional Element Summary

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

      • value

        String 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

        String[] 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:
        {}