タイプが1、4、5の添付ファイルを表示したい
${attachments} has got attachments with the attributes name, type
編集:
<g:findAll in="${attachments}" expr="it.type==1 || it.type==4 || it.type==5">
<p>File: ${it.name}, ${it.type}</p>
</g:findAll>
私は上記の方法を試していましたが、うまくいきませんでした。これを行う方法。