Portal Content
Tag getProperty


Retrieve the value(s) of a specified Property a Node 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.


Tag Information
Tag Classcom.bea.content.manager.servlets.jsp.taglib.GetPropertyTag
TagExtraInfo Classcom.bea.content.manager.servlets.jsp.taglib.GetPropertyTagExtraInfo
Body Contentempty
Display NameGet Property

Attributes
NameRequiredRequest-timeDescription
idfalsetrue The name of the script variable which should contain the com.bea.content.Node object to get the property from. One of either id or node should be specified.
nodefalsetrue The com.bea.content.Node to use. Will check this node first and if not found will get the Node using from id.
resultIdfalsefalse The name of the script variable to store the value of the property in. If this is not specified, the value of the property will be printed in the JSP instead.
resultTypefalsefalse The type of the single valued property. May only be used if isMultiple is False.
namefalsetrue The name of the Property to get. If this is a system property (cm_createdBy, cm_createdDate, cm_modifiedDate, and cm_path) then the value on the Node will be used. If not specified then the primaryProperty will be used if defined.
defaultfalsetrue If resultId is not set, this specifies the string value to print if the property doesn't exist on the specific object or if the specified property does not contain any values.
conversionTypefalsetrue If resultId is not set, this specifies how to encode the property value when printing it to the JSP. This should be one of: html, url, or none. html will convert HTML special characters to their entity form; url will convert the text via the java.net.URLEncoder.
dateFormatfalsetrue If resultId is not set, this specifies the java.text.SimpleDateFormat date format string to use when printing date property values.
numFormatfalsetrue If the resultId is not set, this specifies the java.text.DecimalFormat string to use when printing numeric property values.
blockSizefalsetrue The size of the blocks in bytes, to read the bytes of a Binary Property.
startIndexfalsetrue The index (from 0) in the document's bytes at which to start printing.
endIndexfalsetrue The index (from 0) in the document's bytes at which to stop printing.
baseHreffalsetrue The base href to the ShowBinaryServlet to use to display/retrieve other documents relative to the printed document. This should typically be request.getContextPath() + "/ShowBinary", and is only needed when displaying binaries that need to resolve relative links.
isMultiplefalsefalse True if the resultId should be set to a Collection, False if it should be set to an Object that may be cast to the property type. The default is True.
failOnErrorfalsetrue True to throw a JspTagException if any error occurs; false to return a null on error.
transactionTimeoutfalsetrue When the result is streamed to the output (id is not specified), the call to the CM system is wrapped in a Transaction. The default transaction timeout is set by the system, but might be too short for large content. This attribute sets the timeout of that transaction (in seconds). A value of 0 (zero) sets the timeout to the system's default value.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. {wls.FOOTER}