I have an asynchronous call to a web service that retrieves data. This data is then parsed out, and stored in Rhom.
Because there are quite a few records, the saving into Rhom can take up to 20 seconds on the RhoSimulator.
I found this article to do with saving large amounts of data, so thought I'd try and implement it
The code I have is as follows:
As you can see, the do_download function makes a call to the web service, and renders a wait page (wait_download)
When this call completes, I am then telling the web view to navigate to start_object_generator, which then makes another asynchronous call to the controller action do_objects_generation.
I then tell it to render a new wait page, which contains a progress bar (wait_update_rhom).
The problem is that this new wait page is not rendered, and it merely sits on the previous wait page until the second asynchronous call is completed.
Is there any way around this, or am I doing something wrong?
Thanks in advance.