Portal Personalization
Tag contentSelector


The contentSelector tag is used to return content nodes based upon a content selector rule, the current user, request, and session.


Tag Information
Tag Classcom.bea.p13n.servlets.jsp.taglib.ContentSelectorTag
TagExtraInfo Classcom.bea.p13n.servlets.jsp.taglib.ContentSelectorExtraInfo
Body Contentempty
Display NameContent Selector

Attributes
NameRequiredRequest-timeDescription
ruletruetrue The name of the content selector rule to execute to determine the content query to use. If the conditions of the rule are matched, then the rule's content query will be executed against the content manager. Otherwise, an empty array of content object will be returned.
maxfalsetrue Limits the maximum number of content items returned. If not present, it returns all of the content items found.
sortByfalsetrue A list of document attributes to sort the content by. The syntax follows the SQL 'order by' clause.
contextParamsfalsetrue Either a java.util.Map or a semi-colon separated list of name=value pairs of additional parameters to set on the content search. These will be interpreted by the ContentManager.
queryfalsetrue The content query string to search for. This will override the content query from the rule.
contentHomefalsetrue Deprecated and no longer used.
idtruefalse The script variable name that contains the array of com.bea.content.Node objects found.
useCachefalsetrue Whether to use the Node cache. Should be true or false.
cacheScopefalsetrue The cache scope: request, page, session, application
cacheIdfalsetrue The cache value name; defaults to the id.
cacheTimeoutfalsetrue How long the content should live in the cache in milliseconds.
searchPathsfalsetrue The comma-delimited repository search paths on which to execute the query.
appendQueryfalsetrue A content query string to append to the resulting content query from the rule. If the content selector rule conditions don't match, this will be ignored. If this starts with || (2 vertical bars), it will be logically OR'ed with the content query; if it starts with && (2 ampersands), it will be logically AND'ed with the content query; if it doesn't start with && or ||, it will be logically AND'ed with the content query.
versionedContentfalsetrue Determines if the content query should search the versioned repository and return versions.

Variables
No Variables Defined.


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