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 setObjectInContext

void setObjectInContext(javax.servlet.http.HttpServletRequest request, java.lang.String attributeName, java.lang.Object object)
Description

This is a utility method that will set the object as an attribute on the current request under the attribute name passed in. This is to provide some help when using EL.

Examples

Here is an example of calling this function using Expression Language:

${templates:setObjectInContext(pageContext.request, var, tempNode)}


Function Information
Function Classcom.bea.content.ui.jsp.templates.utils.TemplateSupport
Function Signature void setObjectInContext(javax.servlet.http.HttpServletRequest request, java.lang.String attributeName, java.lang.Object object)
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.