我正在使用 Spring Web Flow,但是当我单击提交按钮时,它什么也没做;没有错误,没有例外,只是重定向到同一页面。这是我的代码:
顾问ControlOrdenAcunacionFlow.xml:
<view-state id="ConsultarControlOrdenAcunacion" model="ordenesAcunacionParaAutorizar">
<binder>
<binding property="ordenIds" required="true"></binding>
<binding property="comentario" required="true"></binding>
</binder>
<transition on="firmarOrdenes" to="GetDatosParaFirma" validate="false"/>
</view-state>
顾问ControlOrdenAcunacion.jsp:
<form:form id="formaAplicaAccion" modelAttribute="ordenesAcunacionParaAutorizar" action="${flowExecutionUrl}" method="POST" >
<form:input path="ordenIds" id="ordenIds" type="hidden" name="ordenIds" value=""/>
<form:input path="comentario" id="comentario" type="hidden" name="comentario" value="xxxxxxxxxxxxxxx"/>
<table cellpadding="0" cellspacing="0" border="1" class="display" id="ordenes1" style="font-size: 12px;" >
</table>
<input style="display:none;" id="botonAutorizar" type="submit" name="_eventId_firmarOrdenes" value="Firmar Datos"/>
</form:form>
jQuery代码:
$("#formaAplicaAccion").submit();
我究竟做错了什么?
谢谢