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

 

acl:gather

Gathers fields into an ACL.

Syntax

Parameters

name (required)
Name of the ACL.

prefix (required)
Specifies the name of a string to be used as the prefix for variable names, which may exist in the environment. A colon (:) is used as a prefix separator, followed by a field name when the acl:gather tag is looking for variables in the environment.

fieldlist (required)
Specifies a comma-separated list of field names that should be gathered. Any field in the list that does not exist in the environment is cleared. If this parameter is not specified, then the acl:gather tag looks at all fields in the environment, if they are not found the existing value is maintained.

Description

This tag retrieves name/value pairs from the environment, and sets them into a loaded ACL. The name/value pairs are grouped together using a prefix and a prefix separator.

errno

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 into
memory).

Example

The following example gathers the acl name and description fields from the environment into acl1 using the prefix sample:

See Also

acl:create

portal:logdep

object:stream

object:setobject

object:setparent

acl:scatter

acl:set

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.