structure:boundPage

This tag will get you a 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.

 

ID-result variable contains:
A org.infoglue.deliver.applications.databeans.WebPage-object.

Examples

The following example gets the webpage-object representing a page bound by the component property "Detail page" and prints out the url in the href-tag and some other properties that object can offer.

<structure:boundPage id="detailPage" propertyName="Detail page"/>
The page id is: <c:out value="${detailPage.siteNodeId}"/><br/>
<a href="<c:out value="${detailPage.url}"/>"><c:out value="${detailPage.navigationTitle}"/></a>



comments powered by Disqus