6D Labs / CQ Extended Tag Library / API / Expression Language Functions / getInherited
Gets an inherited value from an InheritanceValueMap.
com.day.cq.commons.inherit.InheritanceValueMap
- the InheritanceValueMap from which to get the propertyjava.lang.String
- the key of the property to retrievejava.lang.Object
- either the default value or a Class in which to coerce the valuejava.lang.Object
- the value, if the default is specified and no value exists for the key the default is returned. If a value exists, it will be cast into the same type as the default or the type of Class if specified.
Example:
${ext:getInherited(iprops,'jcr:title','Default Title')}