Skip to main content

collection-finder handler

Similar to collection-handler, this handler retrieves the list objects contained on a parent collection. 

Attribute
Usage

collection

EL expression that contains the objects collection

if

EL expression that must be evaluated to true prior to handler action

unless

EL expression that must be evaluated to false prior to handler action

The following example shows how you could retrieve City objects as a collection of objects within the County object:

<datanode name="country">
        ...
    <finder name="cities" type="city" >
        <collection-finder collection="${instance.cities}">
    </finder>
        ...
</datanode>