Content Presenter Display Template Support Functions
Function getPropertyDisplayValue
String getPropertyDisplayValue(javax.servlet.http.HttpServletRequest request, com.bea.content.Node node, String propertyName)
This will take the passed in property name and use it to create a String that will best show that property. If the property holds an image binary, a completed img tag will be returned that will display the image. If the property holds any other kind of binary, a completed anchor (a) tag will be returned that will download the binary. Otherwise, the value of the property will be returned. This is to be used when you want to display a specific property but do not want to worry about how best to do it.
The output of this function call can be displayed using Expression Language:
${templates:getPropertyDisplayValue(node)}
Function Information |
Function Class | com.bea.content.ui.jsp.templates.utils.TemplateSupport |
Function Signature |
String getPropertyDisplayValue(javax.servlet.http.HttpServletRequest request, com.bea.content.Node node, String propertyName)
|
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.