Annotation Type OnSelectElementActions


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface OnSelectElementActions
    A group of @OnSelectElementAction associated to the same collection.

    Applies to @OneToMany/@ManyToMany collections.

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

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