@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface ListActions
@ListAction
associated to the same collection. Applies to @OneToMany/@ManyToMany collections.
It allows to define a value different for @
in each view.ListAction
Example:
@ListActions({ @ListAction(forViews="DEFAULT", value= ... ), @ListAction(forViews="Simple, VerySimple", value= ... ), @ListAction(forViews="Complete", value= ... ) })Since 6.1 @ListAction is repeatable, so you don't need to use @ListActions any more.
Modifier and Type | Required Element and Description |
---|---|
ListAction[] |
value |
public abstract ListAction[] value