Package org.apache.tapestry5.annotations

# Annotation Type SessionAttribute

@Target(FIELD) @Documented @Retention(RUNTIME) @UseWith({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
  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 Details

  - ### value

    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:
      ""