Package org.openxava.annotations
Annotation Type ViewActions
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ViewActions
A group of@
associated to the same collection.ViewAction
Applies to @OneToMany/@ManyToMany collections.
It allows to define a value different for
@
in each view.ViewAction
Example:@ViewActions({ @ViewAction(forViews="DEFAULT", value= ... ), @ViewAction(forViews="Simple, VerySimple", value= ... ), @ViewAction(forViews="Complete", value= ... ) })
Since 6.1 @ViewAction is repeatable, so you don't need to use @ViewActions any more.- Author:
- Javier Paniza
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ViewAction[]
value
-
-
-
Element Detail
-
value
ViewAction[] value
-
-