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