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