Home > Contents > Index >
object:get
Copies a field from an object.
Syntax
<object:get name="object name" field="field" [output="output"]/>Parameters
name (required)
- Name of the object.
field (required)
- Name or type of field to retrieve.
output (optional)
- Specifies the name of the output variable, which should be created in the environment. If this parameter is not specified, the variable is given the same name as the field.
Description
This tag copies a field value from a loaded object into the environment.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory).Example
The following example copies the
name
column into a variable calledname
:<object:get name="object1" field="name" output="name"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.