structure:componentPropertyValues

This tag will get you String array consisting of component property values if it is a textfield, textarea or other non binding property. Useful if you for example use the new checkbox property with several options.

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 on which the property is located if not on the current page.

propertyName

false

 

Object/String

The property name the component used to bind the content by in which you wish to get the child pages below.

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 string containing the value.

Examples

The following example gets the component property values of the property named "markets" and prints it out. Use with your own imagination.

<structure:componentPropertyValuesid="markets" propertyName="Headline"/>
<h1>Markets used by this components (could be)</h1>
<c:forEach var=”market” items=”${markets}”>
<p><c:out value="${market}"/></p>
</c:forEach>



comments powered by Disqus