Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:gather
Gathers all variables, where the variable matches a column name for the asset, and sets data in the asset instance.
Syntax
<asset:gather name="asset instance object" [prefix="prefix"] [fieldlist="field names"] [exclude="true|false"] />Parameters
name (required)
- Name of the asset instance object.
prefix (optional)
- First part of the name of all variables and/or lists used by this gather operation. Variables are named with the prefix together with the field name. If a delimiter, such as a colon, was used in the creation of the variables that you want to gather, you must use the same delimiter in the gather operation. For example,
Variables.prefix:fieldname
.
fieldlist (optional)
- Specifies a comma-separated list of field names that are gathered. Any field in the list that does not exist in the environment is cleared. If this parameter is not specified, then the gather operation searches all local fields in the environment; but if none are found, the existing value is maintained. The following keywords represent groups of attributes:
*
- All fields.LocalFields
- Fields of the asset's primary table.Association-named
- Named associations.Association-unnamed
- Unnamed associations.Publist
- Site (formerly publication) IDsexclude (optional)
- When set to
true,
this parameter specifies to scatter all fields except those specified in the fieldlist.
Description
The
asset:gather
tag performs multiple asset:set operations based on a variable naming convention.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).
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.