structure:siteNodeLanguages

This tag returns all languages available for the current repository minus any disabled languages for this page.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

siteNodeId

false

 

Object/String

The id of the siteNode you wish to get the available languages on.

ID-result variable contains:

A list of orgorg.infoglue.cms.entities.management.LanguageVO-objects.

Examples

The following example gets all the available languages for the current page and prints them. Perhaps using flags would be better later.

<structure:siteNodeLanguages id="languages"/>
Allowed languages:
<c:forEach var="language" items="${languages}" varStatus="count">      
  <c:out value="${language.name}"/><br/>
</c:forEach>

 



comments powered by Disqus