I am not quite sure as I have not used RF a lot but I think in onSaveCustomer() you can not create a new customer request, make the customer editable and then save it. By creating a new CustomerRequest you got a new (empty) RequestContext which does not know any of the changes you have done before. So you should reuse the RequestContext you have used to actually edit the customer..so basically the RequestContext you get from editor.flush() in your onPreviewCustomer() method. Thats the RequestContext that knows what changes have been done.
A different way is maybe to use the RequestContext.append() method to merge the RequestContext used to edit the customer with the new one that is created during save. Hope this helps. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ftsMycTodQkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
