Grails中onclick remoteFunction中多个参数的语法

Grails中onclick remoteFunction中多个参数的语法,grails,Grails,我有这样的代码: <button id="save" onclick = "${remoteFunction(controller: 'customer', action: 'saveModifiedIndividualRecord', params: '\'yellowIssuesRemoved=\' + removed

我有这样的代码:

<button id="save" onclick = "${remoteFunction(controller: 'customer', 
                                                action: 'saveModifiedIndividualRecord',
                                    params: '\'yellowIssuesRemoved=\' + removedYellowIssues')}"> Save </button>
但我不能完全理解语法,因为我以前没有使用上述技术完成多个参数

编辑:我认为使用这种技术有某种分隔符来分隔多个参数,但似乎找不到这样的示例。或者记住它

只是尝试了一些变化,但没有成功:

<button id="save" onclick = "${remoteFunction(controller: 'customer', 
                                                action: 'saveModifiedIndividualRecord',
                                    params: '\'redIssuesRemoved=\' + removedRedIssues' +  '\'&yellowIssuesRemoved=\' + removedYellowIssues')}"> Save </button>
保存

与您现在尝试的不匹配

<button id="save" 
        onclick = "${remoteFunction(
          controller: 'customer', 
          action: 'saveModifiedIndividualRecord',
          params: '\'redIssuesRemoved=\' + removedRedIssues +  \'&yellowIssuesRemoved=\' + removedYellowIssues')}">
    Save 
</button>

好的,我刚刚确认我的所有参数都在工作。谢谢
<button id="save" 
        onclick = "${remoteFunction(
          controller: 'customer', 
          action: 'saveModifiedIndividualRecord',
          params: '\'redIssuesRemoved=\' + removedRedIssues +  \'&yellowIssuesRemoved=\' + removedYellowIssues')}">
    Save 
</button>
params: [redIssuesRemoved: removedRedIssues, yellowIssuesRemoved: removedYellowIssues]