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 getDownloadURL

String getDownloadURL(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 DownloadBinaryServlet which generates a URL to download the binary belonging to that property. This is meant to be used as the value of the href attribute of an anchor (a) tag.

Examples

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

<a href="${templates:getDownloadURL(pageContext.request, node)}">
  ...
</a>


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