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 getPropertyDisplayValue

String getPropertyDisplayValue(javax.servlet.http.HttpServletRequest request, com.bea.content.Node node, java.lang.String propertyName)
Description

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.

Examples

The output of this function call can be displayed using Expression Language:

${templates:getPropertyDisplayValue(node)}


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