WebDeck
Tag search


A tag to provide access to WebDeck search functionality. The Search tag iterates through the result available, returning an object named thisResult for each result in the collection. This object should be cast to either an Article or a DocumentAsset, depending on the return parameter thisResultTypeId, which can be checked against the two constant values in the com.solidstategroup.cms.Search class. The following objects are available: thisResult (Object type: java.lang.Object. The iterated result) thisResultTypeId (Object type: java.lang.Integer. The type of the result (1 = Article, 2 = Document) totalNumberOfResults (Object Type: Integer. The total number of pages in this collection). searchResults (Object Type: com.solidstategroup.cms.Search. The search object). finalResult (Object Type: Boolean. Is this the last result in the collection?)


Tag Information
Tag Classcom.solidstategroup.cms.taglib.SearchTag
TagExtraInfo Classcom.solidstategroup.cms.taglib.SearchTagEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
articleTypefalsetrueString You can use the specific ArticleType name (for example "News Items") or you can use the fully qualified ArticleType name which might look something like "All Articles.Our Company.News Items". In order to prevent problems when there are two ArticleTypes with the same name, the fully qualified method is preferred.
searchTermsfalsetruejava.lang.StringNo Description
sessionTypeIdfalsetruejava.lang.StringThe version type of these articles. Valid values are: 1 - Published Articles 2 - Preview Articles; 3 - Articles available for editing;
securityLevelIdfalsetruejava.lang.StringThe current securityLevelId of the user
searchArticlesfalsetruejava.lang.StringBoolean - whether to search Articles - defaults to true
searchDocumentsfalsetruejava.lang.StringBoolean - whether to search Documents - defaults to true

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.