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