I have spring 2.5 application and several pages in the flow work perfectly - they progress according to my flow.xml. The page that is "broken" has the submit in the form:
<input type="image" name="_eventId_submit" src="<c:url value="images/continue.png" />" />
the flow definition for this page looks correct:
<view-state id="coverages" view="tiles.coverages" model="rtrForm">
<on-entry>
...
</on-entry>
<transition on="submit" to="policyVehicleDetailsDecisionForward">
<evaluate expression="coverageFormAction.bindAndValidate" />
<evaluate expression="coverageFormAction.evaluateCoverages(rtrForm)" />
</transition>
</view-state>
I have debug statements in the mainFlowAction.evaluateCoverages(...) and I don't see this in the log file but I also don't see any exceptions - anyone know where to go from here? I've attached eclipse to Tomcat 6.0.33 to do remote debugging and I still don't see any exceptions coming across the wire...I'm stumped at this point and have no clue how to figure this out - any help or suggestions would be welcomed.
So I've taken this a few steps further and I've overriden the QuoteFormAction.bindAndValidate() method and sadly, I'm not seeing this method being invoked in the logs - so I'm assuming at this point that the form isn't even invoking that...I'm using the same pattern that I have for all of the pages that do work. I've abbreviated the form - maybe I'm overlooking something obvious:
<form id="rtrForm" action="/rtrSite/main.svc?execution=e1s5" method="post">
...
<select name="quoteForm.policyLevelCoverages.towing" class="violationType" id="TOWING" validate="selectOneOption" req="">
...
<select name="quoteForm.vehicleLevelCoverages[0].rental" class="violationType" id="RENTAL" validate="selectOneOption" req="">
...
<input type="image" name="_eventId_submit" src="images/continue.png" />
<input type="image" name="_eventId_save" src="images/save.png" value='Save -n- Return' />
<input type="image" src="images/back.png" name="_eventId_back" value='Back' />
<input type="reset" id="reset" />
</form>
JSP Form generation:
<c:forEach var="policyCoverageList" varStatus="policyCoverageStatus" items="${quoteForm.coverages.jspCoverageCodesPolLevel}">
<spring:bind path="quoteForm.policyLevelCoverages.${fn:toLowerCase(policyCoverageList.coverageCode)}" >
<select name="${status.expression}" class="violationType" id="${policyCoverageList.coverageCode}" validate="selectOneOption" req="">
<c:if test="${policyCoverageList.isRequired == 'N'}">
<option value="-1"><spring:message code="coverage.decline" /></option>
</c:if>
<c:forEach var="policyCoverage" items="${policyCoverageList.limits}">
<option value="${policyCoverage.id}" <c:if test="${policyCoverage == 'TODO'}">SELECTED</c:if>>
${policyCoverage.coverageLimits}
</option>
</c:forEach>
</select>
</spring:bind>
</c:forEach>