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