management:principalAssetUrl

This taglib returns a principal asset url.

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 look in.

assetKey

false

 

Object/String

The asset key to look for.

 

ID-result variable contains:
A String-object.

Examples

This will result in that the personal image of the current user is shown if available.

<management:principalAssetUrl id="myImage" assetKey="PersonalImage"/>
My image: <img src=”<c:out value="${myImage}"/>”/>



comments powered by Disqus