Jasig CASにいくつかの機能を追加しようとしているので、追加する必要があります
lost_login-webflow.xml :
<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-2.0.xsd">
<var name="lostLoginModel" class="***.*****.LostLoginModel" />
<view-state id="viewLostLoginForm" view="casLostLoginView"
model="lostLoginModel">
<binder>
<binding property="email" />
</binder>
<on-entry>
<set name="viewScope.commandName" value="'lostLoginModel'" />
</on-entry>
<transition on="submit" to="lostLoginSubmit" />
</view-state>
<action-state id="lostLoginSubmit">
<evaluate
expression="lostLoginAction.submit(flowRequestContext, flowScope.lostLoginModel, messageContext)" />
<transition on="success" to="viewGenericLoginSuccess" />
<transition on="error" to="viewServiceErrorView" />
</action-state>
<end-state id="viewGenericLoginSuccess" view="casLoginGenericSuccessView" />
<end-state id="viewServiceErrorView" view="viewServiceErrorView" />
</flow>
私のjspでは、 と を設定<input type="hidden" name="execution" value="${flowExecutionKey}" />
し<input type="hidden" name="_eventId" value="submit" />
ました。
私のビューは URL /lostLoginに十分にロードされていますが、フォームを送信しても何も起こりません... (私のフォームは CAS サーバーのデフォルトのフォームに基づいています)
置き換え<transition on="submit" to="lostLoginSubmit" />
て<transition on="submit" to="viewGenericLoginSuccess" />
も何も起こらない
では、なぜ私はトランジションに行かないのですか?