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

 

asset:legalchildtypes

Builds a list of asset types that can be used in an asset field.

Syntax

Parameters

name (required)
Name of previously loaded asset.

field (required)
The field or attribute name.

pubid (required)
Specifies the ID of the publication for which to return legal child types.

listvarname (required)
The name of a list to create with the legal assettypes. The list will contain one column: assettype.

Description

The asset:legalchildtypes tag indicates what asset types are legal for a particular asset reference attribute.

Error Numbers

The possible values of errno include:

Value
Description
-101
No rows. No Association of that name was found.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into
memory).

Example

This example creates a list of all the assettypes that can be inserted in the named association, TopStories.

See Also

asset:load
asset:children
asset:childtypes

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.