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 isPNG

boolean isPNG(com.bea.content.Node node)
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 image/png

Examples

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

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


Function Information
Function Classcom.bea.content.ui.jsp.templates.utils.TemplateSupport
Function Signature boolean isPNG(com.bea.content.Node node)
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.