findAll
Purpose
Uses the Groovy JDKfindAll
method to iterate over each element of the specified object that match the GPath expression within the attribute "expr"Examples
Stephen King's Books: <g:findAll in="${books}" expr="it.author == 'Stephen King'"> <p>Title: ${it.title}</p> </g:findAll>
Description
Attributesin
- The object to iterative overexpr
- A GPath expression