org.apache.struts2.views.annotations

## Annotation Type StrutsTagAttribute

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
      public @interface StrutsTagAttribute

  Documents an attribute to a Struts tag

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `description`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `defaultValue`
    `String` | `name`
    `boolean` | `required`
    `boolean` | `rtexprvalue`
    `String` | `type`

- - ### Element Detail

    - #### description

          public abstract String description

  - - #### name

          public abstract String name

      Default:
        ""

  - - #### required

          public abstract boolean required

      Default:
        false

  - - #### rtexprvalue

          public abstract boolean rtexprvalue

      Default:
        false

  - - #### defaultValue

          public abstract String defaultValue

      Default:
        ""

  - - #### type

          public abstract String type

      Default:
        "String"

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.