content
Tag declareContainerListProp


This tag is used to declare a container list property.

This tag allows to set properties on a container list declaration. These properties are simple string pairs name=value, which can then be retrieved then on the JahiaContainerDefinition.getProperty or JahiaContainerDefinition.getProperties methods.

Example:

In this example we show a container list declaration that includes two properties named 'columns' and 'rows' that could then be used to render the container list in for example using a table

<content:declareContainerList name='mainContentContainerList' title='Main Content'>
<content:declareContainerListProp name='columns' value='3' />
<content:declareContainerListProp name='rows' value='2' />
<content:declareContainer>
    <content:declareField name='title' title='Title' type='SmallText'/>
    <content:declareField name='content' title='Content' type='BigText'/>
    <content:declareField name='image' title='Image' type='File'/>
    <content:declareField name='align' title='Image align' type='SharedSmallText' value='<jahia_multivalue[left:right:default]>left'/>
    <content:declareField name='date' title='Date' type='Date' value='<jahia_calendar[dd mon yyyy / HH:MM]>'/>
</content:declareContainer>
</content:declareContainerList>



Tag Information
Tag Classorg.jahia.taglibs.declarations.DeclareContainerListPropTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
No Attributes Defined.

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.