aspose file tools*
The moose likes JSF and the fly likes Background form data wipes out after swf Ajax popup returns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Background form data wipes out after swf Ajax popup returns" Watch "Background form data wipes out after swf Ajax popup returns" New topic
Author

Background form data wipes out after swf Ajax popup returns

Ahsan Habib
Greenhorn

Joined: Sep 17, 2008
Posts: 22
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.


Ahsan Habib
SCJP5, SCWCD5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Background form data wipes out after swf Ajax popup returns
 
Similar Threads
Richfaces programatically modalPanel
URGENT Help Needed ...!!
Multi Form Validation
How to update Session variable with Form Data ?
Struts & Tiles frame work issue