Please refer to my earlier post at http://forum.springframework.org/showthread.php?t=38685
I have tried using the SWF 1.1 nightly build.
I have specified the login bean as
<bean id="login" class="MyLoginBeanClass" scope="flash"/>
The spring identifies the scope flash. However in the next action when I try to retrieve the bean in the flash scope, I get null value.
I understand that login bean has not been instantiated, however since I am using it on the page for the first time, shouldn't it be instantiated by the framework while doing the data binding?
I have pasted below the configuration I did in the faces-config file.
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
<!-- Navigation handler proxy for a Spring-managed bean that is the Web Flow Navigation Handler -->
<!-- Extended "webApplicationContext" resolver -->
<!-- Multi-caster that broadcast phase events to all PhaseListeners managed by Spring -->
If I use flow scope instead of flash, everything works fine. However the similar configuration should have worked in flash scope as well. Am I doing anything wrong here?
Would appreciate your help here.