structure:hasDefinedProperty

Returns if a component property value was set or not.

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.

languageId

false

 

Object/String

The id of the language to check for a property.

propertyName

false

 

Object/String

The property name the component on which to look for a property.

useInheritance

false

true

Object/String

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.

 

ID-result variable contains:
True or false.

Examples

<structure:hasDefinedProperty id="hasDefinedProperty" siteNodeId="${mySiteNodeId}" propertyName="Article"/>
Is article defined: <c:out value="${hasDefinedProperty}"/>.                                      



comments powered by Disqus