content:contentDetailPage

A tag capable of finding the url to the most probable endpage for a certain content. The logic is that the system finds all pages on which the content is bound directly to a component on that page. If it’s more than one the user using a special property can choose which is the master. If not defined the first is picked.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

siteNodeId

false

 

String

State the detail siteNodeId hard.

contentId

false

 

String

State which content to find the detail page for.

propertyName

false

 

String

The property name of the binding to the content to find the detail page to.

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 repository inheritance when looking for inherited items.

useStructureInheritance

false

true

boolean

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

escapeHTML

false

 

boolean

 

hideUnauthorizedPages

false

 

boolean

 

disableValidateBindingOnPage

false

 

boolean

 

disableFallback

false

 

boolean

 

 

ID-result variable contains:
An url to the exported file.

Examples

Gets an export of the template-content itself (exporting the component actually).

<content:contentDetailPage id="detail" propertyName="ContentPageBindingX"/>
detailUrl: <a href="<c:out value="${detail.url}"/>"><c:out value="${detail.navigationTitle}"/></a>



comments powered by Disqus