structure:siteNode

Returns a siteNode object for further operations.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

targetSiteNodeId

false

 

Object/String

The id of a site node you wish to investigate for the property if you don't want to look for it on the current page.

siteNodeId

false

 

Object/String

The id of the site node we wish to load – must state either this or propertyName.

propertyName

false

 

Object/String

The property binding the site node we wish to load – must state either this or siteNodeId.

useInheritance

false

true

boolean

Sets if the component should look for other articles on other components with the same propertyname, either on the same page or on pages above.

useRepositoryInheritance

false

true

boolean

Sets if the component should use the repository inheritance or not when looking up entities using inheritance.

useStructureInheritance

false

true

boolean

Sets if the component should use inherit properties from it’s parent site nodes.

ID-result variable contains:
A org.infoglue.cms.entities.structure.SiteNodeVO-object.

Examples

This example gets the site node object bound on property "Article".

<structure:siteNode id="siteNode" propertyName="Article"/>

SiteNode was <c:out value="${siteNode.name}"/>.                                         



comments powered by Disqus