Sun ONE Application Framework Component Reference Guide
C H A P T E R 47
Model Reference
A Model Reference configures an instance of com.iplanet.jato.model.SimpleModelReference.
Property Name
Description
Notes
Instance Name
The name of the model instance within this request. If no instance name is specified, the default instance will be used. All references that specify the same instance name (including the default) will share the same model instance.
Look in Session
Determines whether the model will be obtained from the HTTP session. If this value is true, but the model is not available from the session, a new model instance will be created and stored in the session if the Store In Session property is set to true.
Model Class Name
The fully qualified name of the model class.
Req
Name
The name of the component instance.
Req
Store in Session
Determines whether the model will be stored in the HTTP session if a new instance of the model is created (a new instance my not be created if the Look in Session property is set to true). The model will be stored in the session using the specified instance name, or the default instance name.
Sun ONE Application Framework Component Reference Guide