WebDeck
Tag sections


A tag to provide access to a WebDeck Article, iterating through the sections of the Article. The tag parameters are listed in order of preference. I.e. if both a rootArticleId and an articleType are provided, the rootArticleId attribute will take preference over the articleType attribute (which will be ignored). To render an individual you must use the thisArticle.render() method, for example: thisArticle.render(thisSection) Returns the following objects for use within the tags: thisArticle (Object Type: com.solidstategroup.cms.Article. The retrieved article). thisSection (Object Type: com.solidstategroup.cms.Chunk. The iterated article Section). currentSectionNumber (Object Type: Integer. The section number within this collection). totalNumberOfSections (Object Type: Integer. The total number of sections in this collection), allSections (Object Type: com.solidstategroup.cms.Chunks. Direct access to the entire chunks collection). finalSection (Object Type: Boolean. Is this the last section in the collection?).


Tag Information
Tag Classcom.solidstategroup.cms.taglib.ArticleSectionsTag
TagExtraInfo Classcom.solidstategroup.cms.taglib.ArticleSectionsTagEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
rootArticleIdfalsetruejava.lang.StringNo Description
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.
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.