Hi, I have CAS 3.0.7 working and I have to extend the login flow
I have redefined the flow
....
<view-state id="viewLoginForm" view="casLoginView">
<transition on="submit" to="bindAndValidate" />
<transition on="alta" to="customFlow" />
</view-state>
<view-state id="customFlow" view="customFlowView">
<transition on="back" to="automaticCookiePathSetter" />
<transition on="new" to="customAction" />
</view-state>
<action-state id="customAction">
<action bean="customFormAction"/>
<transition on="success" to="customFlow" />
<transition on="error" to="customFlow" />
</action-state>
...
The action bean is defined in cas-servlet.xml
<bean
id="customFormAction"
class=".........CustomFormAction" />
public class CustomFormAction extends AbstractAction{
public final Event doExecute(final RequestContext context) throws
Exception {
try {
System.out.println("************** ACTION");
return success();
} catch (final Exception e) {
return error();
}
}
The problem is that the navigation is ok but when I click the "new" button
the action isnt executed.
It seems a webflow question but perhaps you could help me
Could anyone help me?
Thanks
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user