Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:addmembers
This tag adds child assets to an asset that can contain child assets.
Syntax
<asset:addmembers
name="
assetName
"
list="
list of members
"
field="
meta attribute name
"/>
Parameters
name (required)
- Input. Name assigned the previously created or loaded asset.
list (required)
- Input. The list of member assets to add as children to the loaded asset. The list must contain the columns:
membertype
,memberid
, andordinal
. The ordinal number is temporary and merely represents the order within the passed-in list. It is the tag's responsibility to create reasonable ordinal values for the members.
field (required)
- Input. The asset's attribute name in which to store the member assets. Legal values in include
Association-unnamed
,Association-named
or the name of any attribute which accepts multiple assets.
Description
This tag adds members to an asset which can accept asset children.
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). -12007 The list did not have correct columns. -12070 Asset was not fully loaded. Tag requires ASSET.LOAD with editable flag to fully load asset.Example
See Also
asset:load
asset:addchild
asset:changeref
asset:cantakeaction
asset:children
asset:childtypes
asset:removemembers
asset:reorder
asset:save
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.