Java SpringWeb流不工作
我已将注销流定义为:Java SpringWeb流不工作,java,spring,spring-webflow,cas,spring-webflow-2,Java,Spring,Spring Webflow,Cas,Spring Webflow 2,我已将注销流定义为: <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-web
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow.xsd">
<view-state id="casLogoutPopup" view="casLogoutApplicationsPopup_new">
<transition on="ok" to="test" />
<transition on="cancel" to="test2" />
</view-state>
<view-state id="test" view="casLogoutView" />
<view-state id="test2" view="casLoginView" />
这是我的jsp文件“casLogoutApplicationsPopup\u new.jsp”,在从浏览器访问注销时显示
<form>
<input type="hidden" name="execution" value="${flowExecutionKey}" />
<input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
<input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>
问题是,我无法在单击“确定/取消”按钮时启动“测试”web流。尝试操作属性中的执行url:
<form action="${flowExecutionUrl}">
<input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
<input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>
尝试操作属性中的执行url:
<form action="${flowExecutionUrl}">
<input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
<input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>
这可能是一个重复的问题。查看否处的答案,在该流程中,两个转换都进入了结束状态,但在这里我甚至无法捕获单击事件您没有使用Springform:form
和form:input
标记?这可能是一个重复的问题。查看否处的答案,在该流程中,两个转换都进入了结束状态,但在这里我甚至无法捕获单击事件您没有使用Springform:form
和form:input
标记吗?