Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
object:scatter
Scatters a field from an object.
Syntax
<object:scatter name="object name" [prefix="prefix"]/>Parameters
name (required)
- Name of the object.
prefix (optional)
- Specifies the the name of a string for the variable names that is created in the environment. The prefixes are separated from the field names with a colon (:) when creating variables in the environment.
Description
This command allows fields of a previously loaded object to be copied to the environment as variables with a specified prefix. This tag is the preferred alternative to using multiple
object:get
tags.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 creates a variable in the environment with the prefix
sample
:<object:scatter name="object1" prefix="sample"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.