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
 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.
 

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


Copyright © 2003-2012 The Apache Software Foundation.