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.
如何将值放入 grails 中的选择标记中。
<g:select name="country_name" > </g:select>
像所有国家名称美国、英国、澳大利亚、南非、加拿大、印度
<g:select name="country_name" from="${['USA','UK','INDIA']}"> </g:select>
通过这个你可以手动输入值
from="${['USA','UK','INDIA']}