Download InfoGlue - Developer Manual
Transcript
InfoGlue – Developer Manual
principalAssets
Description
This taglib returns a list of principal assets.
Parameters
Name
Required Default Type
Description
id
true
String
The result is stored in this variable.
userName
false
Object/String The userName of the principal on which we wish to
extract a property.
principal
false
Object/String The principal on which we wish to extract a
property.
languageId
false
Object/String The language to fetch from.
ID-result variable contains:
A List-object of DigitalAssetVO.
Examples
This will result in a list printout of the asset id’s.
<management:principalAssets id="assets" />
<c:forEach var=”assetVO” items=”${assets}”>
The user has an image: <c:out value="${assetVO.id}"/> which can be used with
the content:digitalAsset-tag to get an url. <br/>
</c:forEach>
Author: Mattias Bogeblad
Page 155
2009/01/19