【发布时间】:2012-05-03 00:17:01
【问题描述】:
我正在使用 a 来显示个人资料名称列表。
<g:select name="ProfileSelector" from='${ProfileList?.profileName}' id='ProfileSelect' noSelection="['null':' SELECT VT']" disabled="true" />
所以配置文件列表是具有配置文件名称、配置文件ID、配置文件描述的配置文件类型。在提交时,我只能访问在控制器中选择为参数的 profileName。有什么方法可以将相应 profileName 的 profileId 作为参数传递。
【问题讨论】:
标签: grails gsp grails-2.0 grails-controller