在Webwork 2.2里面给一个Action的result传多个参数:做如下的配置
<action name="firstAuditPropayRecordList"
class="aicu.application.vimp.webapp.action.workflow.aiProPay.PropayRecordAction"
method="getFirstAuditTaskList">
<result name="success" type="redirect">
queryPropayRecord.html?owner=${owner}&status=${status}
</result>
</action>
<action name="queryPropayRecord" class="aicu.application.vimp.webapp.action.QueryActionWithExtremeTable"
method="query">
<result name="success">
/WEB-INF/pages/workflow/aiwfPropayAudit/commonTaskList.jsp
</result>
<param name="queryIds">getAiwfPropayRecordResult</param>
<param name="countIds">getAiwfPropayRecordCount</param>
</action>
注意:type="redirect" 会丢失前一个action中的参数,必须要自己配置参数?owner=${owner}&status=${status}
owner和status的值从前一个action中获取,在前一个action中必须要有这两个参数的定义,settter和getter方法