Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
object:set
Sets a field in an object.
Syntax
<object:set name="object name" field="field" value="value"/>Parameters
name (required)
- Name of the object.
field (required)
- Field to be set.
value (required)
- Value to be set in field.
Description
This tag sets the value of a field in a previously loaded object.
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 sets the value to
red
in thename
field ofobject1
.<object:set name="object1" field="name" value="red"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.