Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
insite:addref
Deprecated, see the Site Developer's Guide for more details..
Stream out an image button to add an asset at the start of a given collection.Syntax
<insite:addref parentid="ID of containing asset" parenttype="type of containing asset" parentfield="meta-attribute current asset came from"/>Parameters
parentid (required)
- the ID of the containing asset.
parenttype (required)
- the type of the containing asset.
parentfield (required)
- the meta-attribute the current asset came from. The field that is reordered is in fact that scatter/gather field associated with the collection asset list.
For recommendations it is called "ManualRecs". For collections the appropriate meta attribute name should be "Association-unnamed". For named associations, the name should be "Association-named:<name of association>"
Description
This tag streams out an image button. INSITE users can use this button to add an asset at the start of a given collection or associate an asset with a given parent asset.
Example
<insite:addref parentid='<%=ics.GetVar("cid")%>' parenttype='<%=ics.GetVar("c")%>' parentfield='Manualrecs'/>
Home > Contents > Index > Oracle JSP Tag Reference
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.