structure:boundPages

This tag will get you a collection of webpage object describing a bound infoglue page.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

propertyName

false

 

Object/String

The property name the component used to bind the content by in which you wish to get the attribute value from.

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.

 

escapeHTML

false

false

Object/String

Sets if the tag should escape any i18n-chars to HTML-entities.

hideUnauthorizedPages

false

false

Object/String

Sets if protected pages which the user does not have access to should be shown.

 

ID-result variable contains:
A list of org.infoglue.deliver.applications.databeans.WebPage-objects.

Examples

The following example gets the list of webpage-objects representing pages bound by the component property "Pages" and prints out the url in the href-tag and some other properties that object can offer.

<structure:boundPages id="pages" propertyName="Pages"/>
<c:forEach var="page" items="${pages}" varStatus="count">
  The page id is: <c:out value="${page.siteNodeId}"/><br/>
  <a href="<c:out value="${page.url}"/>"><c:out value="${page.navigationTitle}"/></a>
</c:forEach>



comments powered by Disqus