Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
def tags = tipLists.collect{it.tags} render(template:'listTags',model:[tagList:tags])
tagsset(Collection)です。TipTag(ドメインクラス)をコレクションセットにキャストtagsして、テンプレートgspに転送する必要がありますlistTags
tags
TipTag
listTags
これを行う方法?何か可能性はありますか?
私はこれをしました、
List<TipTag> tagsList = tipLists.collect{it.tags} render(template:'listTags',model:[tagList:tags])
これは私のためにうまくいきました!