I have defined a logout flow as :
<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" />
And this is my jsp file "casLogoutApplicationsPopup_new.jsp" which is displayed when accessing logout from the browser.
<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>
The problem is I am not able to initiate "test" web flow on click of OK/CANCEL button.