Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

object:load

Loads an object.

Syntax

Parameters

classname (required)
Classname of the object.

name (required)
Name of the object.

objectid (optional)
ID of the object.

objectversion (optional)
Version of the object.

checkout (optional)
Checkout information for the object.

nodeid (optional)
Node ID for the object.

field (optional)
This parameter specifies the name of a field argument that can be used to uniquely identify an object. When using this parameter the, value parameter should also be specified to indicate the value of the specified field.

value (optional)
Specifies the value of a field for unique identification. The value parameter must be used in conjunction with the field parameter.

arg1 (optional)
Argument 1.

arg2 (optional)
Argument 2.

list (optional)
Name of existing list. This parameter allows you to load an object from an existing list rather than from the database.

Description

This tag creates a new instance of the implementing class, loads a specific object into the object instance, and saves the object instance in the object pool using the specified name. The object can be requested by referencing the following information:

The implementing class must implement a load method. The load method should have one of the following prototypes:

Error Numbers

The possible values of errno include:

Value
Description
-10026
No list by specified name exists.

Example

The following example loads object1 from the sample catalog.

The following example uses the optional list parameter.

See Also

object:save

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.