(Quick Reference)

Purpose

This tag will execute the body if the current content is of a specific type.

Example

<wcm:ifContentIs type="org.weceem.blog.WcmBlogEntry">
   This blog entry was posted on ${node.createdOn}
</wcm:ifContentIs>

This check for the content type is polymorphic.

Description

The supported attributes are:

  • type - The class name or class to test