Hello everyone!
I'd like to ask whether there is a replacement for class
org.jasig.cas.web.flow.DynamicRedirectViewSelector in CAS 4.x.
I have a custom webflow in our CAS 3.x, which depends on this class. And now I
am migrating this webflow to CAS 4.0.
I have an end state which has a view defined using the selector:
<end-state id="successRedirect" view="bean:dynamicRedirectViewSelector"/>
And the bean is defined like this:
<bean id="dynamicRedirectViewSelector"
class="org.jasig.cas.web.flow.DynamicRedirectViewSelector"/>
I have found that the interface ViewSelector (implemented by
DynamicRedirectViewSelector) from Spring WebFlow 1.x has also been removed. In
the WebFlow XSD, I found that a view factory from Spring WebFlow 2.x can be
used instead: For exotic usages, you may plug in a custom ViewFactory bean you
define: #{myCustomViewFactory}.
So, I'd like to ask:
1. Is there a direct replacement for DynamicRedirectViewSelector that
could be used right away?
2. If not, is implementing a custom ViewFactory a viable way to achieve
what DynamicRedirectViewSelector did before?
Thank you very much for your answers!
Best Regards,
Jarda
--------------------------------------------------
Jaroslav Kačer
IDC | Application Developer
Phone: +420723914123
Mail: [email protected]
--
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