structure:childComponents

Returns a list of components contained in the current one.

Parameters

Name

Required

Default

Type

Description

id

true

 

String

The result is stored in this variable.

slotId

false

 

Object/String

The id of slot to investigate for components.

ID-result variable contains:

A list of org.infoglue.deliver.applications.actions.InfoGlueComponent.

Examples

This example gets how many components are in the center slot.

<structure:childComponents id="childComponents" slotId="center"/>
<common:size id="size" list="${childComponents}"/>
Slot center contains <c:out value="${size}"/> components.                                       



comments powered by Disqus