Annotation Type ActionViewData


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface ActionViewData
    Annotation to mark a method whose return value should be passed to the view.

    The value will be packaged as a name-value pair.

    Only methods that adhere to JavaBean naming conventions (get* and is*) are supported.

    For example, getFoo() { return "bar" } will be sent as ("foo", "bar").

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean injected  
    • Element Detail

      • injected

        boolean injected
        Returns:
        true if this piece of data should be injected.
        Default:
        false