Filterable OneToMany field

I have a Custom-OneToMany field, and i want to make a filter on this field data. Can anyone help me out !

With actions (action-view, action-attrs, etc.)
domain filter uses named parameters.
These parameters are evaluated against the context.
JPQL or groovy expression can be used.