Annotation Interface Actions

×News: OpenXava 7.7 released - March 9 · Read more

@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Actions
A group of @Action associated to the same member.

Applies to properties and references.

It allows to define a value different for @Action in each view.
Example:

 @Actions({
   @Action(forViews="DEFAULT", value= ... ),
   @Action(forViews="Simple, VerySimple", value= ... ),
   @Action(forViews="Complete", value= ... )
 })
Since 6.1 @Action is repeatable, so you don't need to use @Actions any more.
Author:
Javier Paniza
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details