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

 

asset:getlegalsubtypes

Generates a list of asset subtypes that are valid for this asset type.

Syntax

Parameters

list (required)
Name of the output list.

type (required)
Name of the asset type.

pubid (optional) (required for flex asset types)
Site (formerly publication) ID. The list of asset subtypes can be restricted by specifying the site ID.

Description

The generated list has a subtype column. If the subtype for the asset type is itself an asset type, such as with Collection, Query and Template types, the list also has a description column also.

errno

The possible values of errno include:

Value
Description
-10001
The implementing class is invalid.
-10002
There is a missing method for the implementing class.
-10003
The method could not be invoked successfully.
-10004
A required parameter is missing.

Example

This code lists the legal subtypes for a flex asset type:

See Also

asset:getsubtype
  Home > Contents > Index >

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