@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface ListSubcontrollers
@ListSubcontroller
associated to the same collection. Applies to @OneToMany/@ManyToMany collections.
It allows to define a value different for @
in each view.ListSubcontroller
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.
Modifier and Type | Required Element and Description |
---|---|
ListSubcontroller[] |
value |
public abstract ListSubcontroller[] value