Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Portal Content


Standard Syntax:
     <%@ taglib prefix="cm" uri="http://www.bea.com/servers/portal/tags/content" %>

XML Syntax:
     <anyxmlelement xmlns:cm="http://www.bea.com/servers/portal/tags/content" />

This taglib provides tags to 1) Search for nodes based on a predefined query syntax and place them in a specified id location. 2) Get a Node based on the path and place it in a specified id location. 3) Given a Node, retrieve a specified Property and either set its value(s) in the PageContext or inline the value(s) into the JSP output writer

Tag Library Information
Display NamePortal Content
Version1.0
Short Namecm
URIhttp://www.bea.com/servers/portal/tags/content
 

Tag Summary
search Search for Nodes based upon a query syntax string and place them in a script variable for use, or in the session for pagination. For the query syntax, please consult the portal documentation on the edocs website and the javadoc for the com.bea.content.expression.Search object. This can be used to find all nodes at the root of the repository with a node name greater than Content2-1, such as nodes Content2-2, Content4-5, etc. Please look at com.bea.content.expression.ExpressionHelper.parse(...) method for more details on how the query is parsed.
getNode Select a Node based upon its path and place it in a script variable for use. For example: &#060;cm:getNode path="/WLP Repository/Corporate/quarterly presentation"&#047;&#062; or simply &#060;cm:getNode&#047;&#062; if used in conjunction with the &#060;cm:setNode&#047;&#062; tag.
setNode Sets the specified node in a common request attribute. For use with the getNode tag. For example: &#060;cm:setNode node="&#060;&#037;=node&#037;&#062;"&#047;&#062;
getProperty Retrieve the value(s) of a specified Node Property and either set a script variable with the value(s) or print the value(s). Please look at javadocs for com.bea.content.manager.servlets.jsp.taglib.GetPropertyTag for more information.
getBinaryPropertyURL Deprecated. Please use the same tag from the cmwsrp tag library instead. Retrieve the binary value of a specified Property of a Node. This tag should be used to retrieve binary properties in wsrp environment.
forEachNestedProperty The forEachNestedProperty tag works in conjunction with the GetProperty tag. The forEachNestedProperty tag will expect the id attribute to be set with a nested property collection retrieved via the GetProperty tag.
 


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.