Function isNodeType

boolean isNodeType(javax.jcr.Node, java.lang.String)
If the bean has a non null backing jcr node, this function tests if the node is of the specified primary node type or mixin type, or a subtype thereof. If the bean is not backed by a jcr provider (node), or the backing jcr node is null, this method returns false.

<c:if test="${hst:isNodeType(bean.node, 'demosite:news')}">

Function Information
Function Classorg.hippoecm.hst.util.NodeUtils
Function Signatureboolean isNodeType(javax.jcr.Node, java.lang.String)
Display NameNone

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.