structure:isSiteNodeParentToCurrentSiteNode

This tag returns if the given siteNode is a parent to the one the user is currenly looking at – nice for navigation.

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 to check.

 

ID-result variable contains:
True or false.

Examples

<structure:isSiteNodeParentToCurrentSiteNode id="isSiteNodeParentToCurrentSiteNode" siteNodeId="${mySiteNodeId}"/>
Is the siteNode sent in the same one as the user is currently rendering: <c:out value="${isSiteNodeParentToCurrentSiteNode}"/>.                                          



comments powered by Disqus