Web Application Framework Component Reference Guide
|
  
|
A ClientSession Model uses the JATO client session as its backing data store. ClientSession model fields map directly to client session attributes. Unlike most other models, the fields of a ClientSession Model are merely a pass through vehicle for the values to the client session attributes. In other words, setting the value on a field pushes the value immediately into the client session attribute without the need to execute the model to update the actual backing data store. This model has no internal storage it is a facade to the client session attributes.
Property Name
|
Description
|
Notes
|
Name
|
The class name of the component.
|
Required
|
Fields
Property Name
|
Description
|
Notes
|
Attribute Class
|
Class type of the HTTP session attribute. The HTTP Session Model implementation of setValue() will use this property to coerce value types.
|
|
Attribute Name
|
The name of the HTTP session attribute to which the model field maps. This property value may be null (not set) if the developer wishes to rely on the model field name property to also represent the name of the HTTP session attribute. If this property value is set, it must match the exact name intended for the session attribute.
|
|
Name
|
The logical name of the model field.
|
Required
|
Web Application Framework Component Reference Guide
|
819-0725-10
|
  
|
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.