This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Background form data wipes out after swf Ajax popup returns
posted 6 years ago
I am using spring webflow 2 with richfaces. There is one flow with two views. First view presents send email form with fields like sender, destinations, subject, message, scheduled delivery (richfaces calendar). In order to facilitate user to import contacts from contacts list, 2nd form displays list of contacts from where user can select destinations. This 2nd form is shown as popup and in transition actions, tries to append 1st forms destinations field with newly selected destinations. Destinations field get updated when 2nd view transitions back to 1st form but the problem is 1st forms input values are lost.
I have declared one backing bean in flow. It seems while transition to 2nd view does not bind data to bean and that is why when returned back to 1st form, other fields have no data which was entered before going to 2nd. Googling for couple of days but no luck. Any suggestion is appreciated.