content:contentVersions

This tag fetches the content versions on a content. Not common to use.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

content

false

 

Object/String

The content on which to get the versions.

contentId

false

 

Object/String

The id of the content on which to get the versions we wish to get.

languageId

false

 

Object/String

If set the tag returns looks for a last versions matching that laguage.

includeAllLanguages

false

false

Object/String

Sets if the tag should get all language version or only the versions in the current language.

 

ID-result variable contains:
A list of org.infoglue.cms.entities.content.ContentVersionVO-object.

Examples

The following example gets the latest content versions based on the content object previously fetched. It then gets the latest editor and presents his/her name.

<content:contentVersions id="articleContentVersions" content="${articleContent}"/>



comments powered by Disqus