Package org.openxava.annotations
Annotation Type RowStyles
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface RowStyles
A group of@
associated to the same collection.RowStyle
It allows to define a value different for
@
in each view.RowStyle
Example:@RowStyles({ @RowStyle(forViews="Specials", style="highlight", property="type", value="special"), @RowStyle(forViews="Complete", style="highlight", property="type", value="steady") })
It does not work for @ElementCollection.
Since 6.1 @RowStyle is repeatable, so you don't need to use @RowStyles any more.- Author:
- Javier Paniza
-
-
Element Detail
-
value
RowStyle[] value
-
-