WebDeck
Tag articles


A tag to provide access to a collection of WebDeck Articles. The Articles tag iterates through the articles available, returning an object named thisArticle for each article in the collection. The following objects are available: thisArticle (Object Type: com.solidstategroup.cms.Article. Iterated through for every article in the collection). currentArticleNumber (Object Type: Integer. The article number within this collection). totalNumberOfArticles (Object Type: Integer. The total number of articles in this collection), allArticles (Object Type: com.solidstategroup.cms.Articles. direct access to the entire articles collection). totalNumberOfPages (Object Type: Integer. The total number of pages in this collection). finalArticle (Object Type: Boolean. Is this the last article in the collection?).


Tag Information
Tag Classcom.solidstategroup.cms.taglib.ArticlesTag
TagExtraInfo Classcom.solidstategroup.cms.taglib.ArticlesTagEI
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.
rootArticleTypeIdfalsetruejava.lang.String Retrieve the collection of articles based on the rootArticleTypeId
rootArticleIdfalsetruejava.lang.String Retrieve the collection of articles based on the rootArticleId
customGroupIdsfalsetrueString If you have created and assigned Custom Groups to some article types, you can limit the result returned to articles, the Article Type of which is assinged to these object IDs. The list should be provided in a a comma seperated String. For example, providing the String "4,5,78,90" will only return articles which have a type that is associated with 1 or more of these four Custom Group IDs
rootTagIdsfalsetrueString If you have created and assigned Tags to some articles, you can limit the results returned to articles of that tag. The list should be provided in a a comma seperated String. For example, providing the String "4,5,78,90" will only return articles which have a tag that is associated with 1 or more of these four Root Tag IDs
tagsfalsetrueString If you have created and assigned Tags to some articles, you can limit the results returned to articles of that tag. The list should be provided in a a comma seperated String. For example, providing the String "news,events,bios" will only return articles which have a tag that is associated with 1 or more of these three tags
numberOfArticlesfalsetruejava.lang.StringNo Description
searchTermsfalsetruejava.lang.StringNo Description
pagefalsetruejava.lang.String The current page number (omitting this attribute will return all articles)
articlesPerPagefalsetruejava.lang.String The number of articles per page (only used if a pageNumber is specified)
sessionTypeIdfalsetruejava.lang.StringThe version type of these articles. Valid values are: 1 - Published Articles 2 - Preview Articles; 3 - Articles available for editing;
articleMetaTypefalsetruejava.lang.StringThe meta type of these articles. Valid values are: "Article" "Email" "SMS"
hideEditTagsfalsetruejava.lang.String Boolean true or false. If logged into WebDeck, and Editing the site, edit tags are displayed next to articles. This can cause formatting issues especially if used within DHTML or Javascript. If menus or other elements are being created with the Article Tag, adding hideEditTags="true" will prevent them from ever being displayed. You can specify precise placement of the edit tag by calling the generateEditTag method.

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.