management:language

This taglib gets a language object.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

languageId

false

 

Object/String

The id of the language we wish to fetch.

languageCode

false

 

Object/String

The code of the language we wish to fetch.

 

ID-result variable contains:
A org.infoglue.cms.entities.management.LanguageVO-object.

Examples

This will result in that the variable "language" will contain the language object.

<management:language id="currentLanguage" languageId="${pc.languageId}"/>
Current language as a localized representation is: <c:out value="${currentLanguage.localizedDisplayLanguage}"/>



comments powered by Disqus