Content Presenter Display Template Support Functions
Function getFileContents
String getFileContents(com.bea.content.Node node)
This will take a best guess at which binary property represents the passed in node, and then return the contents of the binary. This is to be used when wanting to inline the contents of a binary property. For example, if the node is represented by an html file, you can use this to get the html from the binary file.
The output of this function call can be displayed using Expression Language
${templates:getFileContents(node)}
Function Information |
Function Class | com.bea.content.ui.jsp.templates.utils.TemplateSupport |
Function Signature |
String getFileContents(com.bea.content.Node node)
|
Display Name | None |
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.