Content Presenter Display Template Support Functions
Function checkMimeType

boolean checkMimeType(com.bea.content.Node node, java.lang.String mimeType)
Description

This will take a best guess at which binary property represents the passed in node, and then check to see if the mime type of that binary is equal to the mime type that was passed in.

Examples

Here is an example of the function call within a c:if tag:

<c:if test="${templates:checkMimeType(node, mimeType)}">
  ...
</c:if>


Function Information
Function Classcom.bea.content.ui.jsp.templates.utils.TemplateSupport
Function Signature boolean checkMimeType(com.bea.content.Node node, java.lang.String mimeType)
Display NameNone


Output Generated by Tag Library Documentation Generator.

Copyright © 2008, ${product.vendor} and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.