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
<asset:getlegalsubtypes list="variable name" type="asset type" [pubid="publication ID"] />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 adescription
column also.Error Numbers
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:
<asset:getlegalsubtypes type="Products" list="subtypes" pubid='<%=ics.GetVar("pubid")%>'/> <ics:listloop listname="subtypes"> <ics:listget listname="subtypes" fieldname="subtype"/><br/> </ics:listloop>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.