Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

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


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Copyright © 2010, Oracle. All rights reserved.