Content Presenter Display Template Support Functions
Function getImageSource

String getImageSource(javax.servlet.http.HttpServletRequest request, com.bea.content.Node node)
Description

This will take a best guess at which binary property represents the passed in node, and then return a url to the ShowPropertyServlet which will display the image belonging to that property. This is meant to be used as the src attribute of an img tag.

Examples

Here is an example of the function call within a HTML img tag:

<img src="${templates:getImageSource(pageContext.request, node)}" alt=""/>


Function Information
Function Classcom.bea.content.ui.jsp.templates.utils.TemplateSupport
Function Signature String getImageSource(javax.servlet.http.HttpServletRequest request, com.bea.content.Node node)
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.