Annotation Type ListSubcontrollers


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface ListSubcontrollers
    A group of @ListSubcontroller associated to the same collection.

    Applies to @OneToMany/@ManyToMany collections.

    It allows to define a value different for @ListSubcontroller in each view.
    Example:

      @ListSubcontrollers({
        @ListSubcontroller(forViews="DEFAULT", value= ... ),
        @ListSubcontroller(forViews="Simple, VerySimple", value= ... ),
        @ListSubcontroller(forViews="Complete", value= ... )
      })
     
    Since 6.1 @ListSubcontroller is repeatable, so you don't need to use @ListSubcontrollers any more.
    Since:
    5.7
    Author:
    Ana Andres
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ListSubcontroller[] value