org.apache.tapestry5.annotations

## Annotation Type SessionAttribute

-     @Target(value=FIELD)
       @Documented
       @Retention(value=RUNTIME)
       @UseWith(value={COMPONENT,MIXIN,PAGE})
      public @interface SessionAttribute

  Used to map a property of a page or component to value stored in session.
  Since:
    5.2.0

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `value` Name of a the `Session` attribute to which the field will be mapped; if not specified, defaults to the name of the field.

- - ### Element Detail

    - #### value

          public abstract String value

      Name of a the `Session` attribute to which the field will be mapped; if not specified, defaults to the name of the field.
      Default:
        ""

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.