Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to process Container ??
KshitiKothari
Hi,
I have to process this container. Be noted that combintion is OR. It means that user has to choose one item: either ctrOne,ctrTwo or ctrThree.
<container combination="or" hide-name="t" name="ctrMajorArticleSection">
<item name="ctrOne"><label>Major Heading</label>
<replicant max="1" min="1" default="1">
<item name="majorHeading"><label>Major Heading</label>
<description>Max of 100 characters</description>
<text required="t" size="55" maxlength="100"/>
</item>
</replicant>
</item>
<item name="ctrTwo"><label>Lead-In</label>
<replicant max="1" min="1" default="1">
<item name="leadInText"><label>Lead-In Text</label>
<description>Max of 400 characters</description>
<textarea required="t"/>
</item>
</replicant>
</item>
<item name="ctrThree"><label>Major Heading with Lead-In</label>
<replicant max="1" min="1" default="1">
<item name="majorHeading"><label>Major Heading</label>
<description>Max of 100 characters</description>
<text required="t" size="55" maxlength="100"/>
</item>
<item name="leadInText"><label>Lead-In Text</label>
<description>Max of 400 characters</description>
<textarea required="t"/>
</item>
</replicant>
</item>
</container>
Is there any process so that I could get the first item of container. in the above case the first item is either ctrOne,ctrTwo or ctrThree.
Please answer as soon as possible. Any suggestion is welcome.
Regrds
Vivek jian
Find more posts tagged with
Comments
Johnny
I believe you are looking for the TPL tag <iw_case>
Read the templating documentation for more information on this tag.
John Cuiuli