Mar 13th, 2013, 01:10 AM
subflow in Spring Web Flow 2
I am using subflow of spring webflow 2. application is multi step like password reset. before we reset we need user to answer secret questions.
user enters user name/password and move to next screen to answer secret questions (if not answered), then move to change password.
secret question and change password screen are in subflow of login flow.
Problem I have is when user move to screen answer questions(which is subflow screen) and then hit enter after answers questions, it looses initial request context object and creates new request context object hence loosing existing variable from main flow ( login flow).
Its simple form with few values with post method. during load of view page we have same request context object. When we click on submit only then it creates new requestcontext object.
Not sure what is causing it to create new requestcontext object. Your guidance will be a great help
Mar 15th, 2013, 02:23 PM
Need More Info
Can you post the flow and subflow in question? Or at least the relevant snippets of the flows?
Originally Posted by khurana14
Tags for this Thread