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