有没有办法在optionValue中显示多个字段名?我们可以在g中有多个字段:select optionValue?
<g:select name="id" from="${Books.list()}" optionKey="id"
value="" optionValue="name"
noSelection="${['null':'Select Publisher...']}"/>
EXPE:
<g:select name="id" from="${Books.list()}" optionKey="id"
value="" optionValue="name and author"
noSelection="${['null':'Select Publisher...']}"/>
thanksDaniel Engmann – Honey 2010-11-19 12:55:02