Dashcode iPhone Webapps - How to force a view to Refresh on Back

I have added one more List content view using Dashcode and have the lists data loaded dynamically via AJAX. Everything going Forward works perfectly
However, when I clicked on the "Back" button, the Back button played the transition effect of going back but the content view does not refresh and the page stayed as it was before the Back button is clicked.
I have tried to add list.object.reload() to the _backButtonClicked() function inside Browser.js but to no avail.
Yes, the dynamic list data get updated and displayed properly when going forward, so I don't think it is anything due to the update of the list data...
So, is there a proper way to force the refresh of the view (and reload the list data) for a multiple content view stacklayout?
Thank you very much.
Subject was edited by: Edwin Tam for improved clarity

I have added one more List content view using Dashcode and have the lists data loaded dynamically via AJAX. Everything going Forward works perfectly
However, when I clicked on the "Back" button, the Back button played the transition effect of going back but the content view does not refresh and the page stayed as it was before the Back button is clicked.
I have tried to add list.object.reload() to the _backButtonClicked() function inside Browser.js but to no avail.
Yes, the dynamic list data get updated and displayed properly when going forward, so I don't think it is anything due to the update of the list data...
So, is there a proper way to force the refresh of the view (and reload the list data) for a multiple content view stacklayout?
Thank you very much.
Subject was edited by: Edwin Tam for improved clarity

Similar Messages

  • I had to reset my iPhone. How do I get my apps and music back?

    I had to reset my iPhone. How do I get my apps and music back? It is backed up on iCloud.  Thanks

    Restore it from your iCloud backup. Here are the instructions:
    iCloud: Restore your iOS device from iCloud
    Expect it to take a long time, several hours if you purchased many apps and / or songs.

  • I lose my contact in my iphone. How can I get my contact from my back up in my Itunes

    I lose my contact in my iphone? How can I get my contact from my itunes which I was sync last month?

    The safe password app is a third party app, ask them.

  • How to force JEditorPane to be refreshed?

    Dear all,
    I've problem of refreshing JEditorPane using setPage( ) method.
    I've written a simple JAVA browser with an analysing system. When a user clicks a hyperlink, the setPage( ) method will be called. Followed by the setPage( ) method, is another method, called method2, used to analyse the content of the page which will take several seconds to minutes to be finished.
    The problem I have now is that, the new HTML page will be displayed only after method2 is finished. How to force the page to be displayed before running method2?
    Thanks a lot.
    Frances

    Just to add - invokeLater will free up the swing thread so setPage completes in a timely manner but
    StanislavL's example will run method2 on the swing thread also, just as a separate action
    performed at a later time. This is good if method2 makes further calls to swing methods but it
    does mean that the analysis will block the swing thread for however long it takes. If that's OK then fine, otherwise modify as:
    pane.setPage(url);
    Thread t = new Thread() {
      public void run() { method2(); };
    t.start();Check out this [url http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html]article for further info.
    Regards

  • I set-up my iphone 4 from a back-up of my iphone 3 how do I get new built in apps back?

    I set-up my iphone 4 from a back-up of my iphone 3 - the new built-in apps are not displaying on my phone - how do I get new built in apps back?

    What apps are you referring to specifically.  If they are preinstalled apps they cannot be deleted so may have been moved it onto a screen or into a folder, the Utilities folder seems to be a common folder for them to move to.  Check all screens and folders and do a search in Spotlight, it will tell you if the app it still on your iPhone but unfortunately not where it is. If you find it on one or your screens or in a folder, press the icon until it wiggles and then drag it back to where you want it.  Alternatively you can reset your home screen in Settings>General>Reset>Reset Home Screen Layout.

  • I broke the back to my iphone 4 how much will this cost to get the back panel fixed

    i got my iphone in october so it should still be in warranty ? and how much is it to get a new back panel put on?

    warranty doesn't cover accidental damage.  In the US, the back cover can be replaced for $29.00 at the Genius Bar

  • How to ADD Materialized Views to Refresh Group

    Hi,
    My requirement is, i want to refresh MVs(fast refresh only) by using DBMS_SCHEDULER. For this i have created one DBMS_SCHEDULER job like below.
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    JOB_NAME      => 'REFRESH_MV_UPLOAD',
    JOB_TYPE           => 'PLSQL_BLOCK',
    JOB_ACTION      => 'DBMS_REFRESH.REFRESH('MV_UPLOAD_GRP');',
    REPEAT_INTERVAL      => 'FREQ=MINUTELY; INTERVAL=30',
    ENABLED      => TRUE
    END;
    In the above script, i created one refresh group 'MV_UPLOAD_GRP'. So what my requirement is i want to ADD my MVs refresh scripts to this group. Scripts as below...
    Refresh MV Scripts:
    1) Exec dbms_mview.refresh('emp.entity', 'f');
    2) Exec dbms_mview.refresh('emp.identifier', 'f');
    3) Exec dbms_mview.refresh('emp.rating_hist', 'f');
    . so on.
    Can anyboy help me how to add these scripts to refresh group 'MV_UPLOAD_GRP'.
    Regards
    Raj

    ALL_REFRESH and ALL_REFRESH_CHILDREN
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarsnapviews.htm#REPMA027
    Nicolas.

  • Dashcode iPhone Webapp - Adding url links to multiple list item

    I was wondering if anyone knew how to add a url link to multiple list items without the use of a button part.
    Say For Instance i Have
    Item 1 > I want to go to www.mysite.com/index.html
    Item 2 > I want to go to www.mysite.com/help/index.html
    Any help would be greatly appreciated

    After hours of reading and experimentation, I have solved my immediate problem thus:
    function jsonLoaded(jsonRequest) {
    if (jsonRequest.status == 200) {
    events = eval( "("jsonRequest.responseText")" );
    document.getElementById('list').object.reloadData();
    } else {
    alert("Error fetching JSON data: HTTP status " + jsonRequest.status);
    var feedURL = "http://www.foo.com/bar.php";
    var onloadHandler = function() { jsonLoaded(jsonRequest); };
    var events = [];
    var jsonRequest = new XMLHttpRequest();
    jsonRequest.onload = onloadHandler;
    jsonRequest.open("GET", feedURL, true);
    jsonRequest.setRequestHeader("Cache-Control", "no-cache");
    jsonRequest.send(null);
    var listController = {
    numberOfRows: function() {
    I had to do two things:
    1. Declare the array 'events' outside the function.
    2. Reload the list data (thanks to http://osdir.com/ml/safari-iphone-web-dev/2009-05/msg00013.html )
    Now I've got to figure out how to pull in different data for different list levels!

  • How to Force Landscape View with EAGLView

    I thought the crash lander app was a perfect template for me. Everything is working great except now I realize my game will really work better in landscape mode than portrait. I can't get it to work no matter what I try
    I've read through the many posts on the forum about this. I've tried transforming the layer 90 degrees (everything looks squished), I've tried plist values (UIInterfaceOrientation). I've tried setStatusBarOrientation in applicationFinishedLaunching. I can't get it to work right. There's always something wrong with the result. I'm not even trying on the simulator, I'm just trying to get it working right on the actual device.
    From my apps perspective, I just want my code to see a device that is 480 pixels wide and 320 pixels tall.
    I could just manually rotate all my images 90 degrees in photoshop, but if I go that wrote can I somehow swap the x and y coordinates on the iphone so i don't have to convert them on the fly manually?
    The crash lander code just has an app delegate and a special myEAGLView class that gets setup right from the app delegate. Is the only way I'm going to do this is to add a viewcontroller for the EAGLView? (EaglView is a UIView so I assume that is possible?)
    Any suggestions?

    If you're using OpenGL, then why not use
    glLoadIdentity();
    glRotatef(90.0f,0.0f,0.0f,1.0f);
    every frame?

  • HT4759 I lost all my contacts in my iphone. How can I get them from my icloud back to my iphone?

    All my contacts got deleted from my iphone 4s. How do I transfor them from icloud back to my phone?

    joephilipose,
    If the contacts are still in Address Book on your computer, but just not on the phone, you can tell iTunes to force replace the contacts on your phone with those from your computer. You can do this by going into the Info tab when your iPhone is connected, and checking the Contacts box under the Advanced section at the bottom of the page.
    You may also want to backup your Address Book information as well. It's a good idea to make periodic backups of your contact and calendar information in case information accidentally gets deleted or changed. You can find out how to backup your Address Book data here:
    http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    To backup your iCal information, follow the steps in this article:
    http://docs.info.apple.com/article.html?path=iCal/3.0/en/9889.html
    Hope this helps,
    Jennifer B.

  • How long should it take to restore icloud back up to an iphone 5comments, how long should it take to restore icloud back up to an iphone 5comments

    How long should it take it to back up icloud to iphone 5c?

    The answer depends on the amount of data to be restored, the speed of your Internet connection, and wireless network conditions. It could take the better part of a day.

  • How to make materialized view fast refresh parallel

    We have Oracle 11.2.0.1 on Redhat 5.2. We use a dozen of fast refresh materialized views in our application.
    From time to time MV refresh takes longer time than the refresh interval.
    One of way to improve performance of MV refresh is to make the refresh parallel, e.g. http://www.dba-oracle.com/t_materialized_views_refreshing_performance.htm
    - Use parallel DML - Oracle author Michael Armstrong Smith notes "I've done parallel materialized view refreshing
    on tables recently and improved the load times considerably. Rather than having one load which took 2 hours,
    I run 4 parallel loads, one for each partition. The length of time for the whole process is now determined by
    how long the biggest partition takes to load. In my case, this is 40 minutes, with two 30 minute loads and one
    20 minute load.  Overall I am saving 1 hour 20 minutes. I can now add further partitions and do the same thing.
    My only limitation is the parallel loads because I don't have unlimited processing power.
    {code} My master tables are not partitioned, but think parallel will still better than non-parallel.
    Now the question, how to make refresh parallel. According to the paragraph cited above, Use parallel DML appears doing the job. Can someone  confirm that.
    We use {code}
    alter materialied view MV_OFFENSE parallel REFRESH FAST start with sysdate next sysdate+ 1/24;
    {code}to schedule refresh. Does the parallel clause here parallels query the MV or refresh the MV?
    Any other way to make MV refresh parallel?
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Doc http://download.oracle.com/docs/cd/E11882_01/server.112/e16579/refresh.htm#i1006319 says:
    >
    In a data warehousing environment, assuming that the materialized view has a parallel clause, the following sequence of steps is recommended:
    1.
    Bulk load into the fact table
    2.
    Enable parallel DML
    3.
    An ALTER SESSION ENABLE PARALLEL DML statement
    4.
    Refresh the materialized view

  • How to prevent materialized views from refreshing if source table is zero

    any ideas?

    Probably not what you were hoping for but here are a couple of ideas.
    Your account shows - 113 (85 unresolved)
    1. How about helping to keep the forum clean by reviewing your 85 unresolved previous questions and giving HELPFUL or ANSWERED credit to those that helped you in the past.
    2. Read the FAQ at the top right of the page and post the information about your system and software so that we know what you are working with.
    3. Ask your question in the body of the thread. Don't just say 'Any ideas'.
    What exactly is your question? Is this an academic question or do you have an actual problem that needs to be addressed?
    If you have an actual problem produce the DDL for the materialized view and information about the type of refresh that has been set up for it. Is there a materialized view log on the base table(s)?
    The simple answer to your quest is to use REFRESH ON DEMAND and check the base table(s) before you do a manual
    refresh. The best answer depends on what version of Oracle you are using and what your actual setup is. Are your
    MVs in REFRESH GROUPS?. That can make a difference in the answer.
    How can anyone help with this question if you won't provide the information needed(FAQ)? Why SHOULD anyone help if you show you don't appreciate the help by marking questions answered once you have been helped.

  • I lost my iphone. How can I get my saved data from back up on my new laptop?

    Dear Friends,
    I did a mistake as when selling my iphone I did not get my saved data from my iphone back up. Now I have a new laptop and I want to get my backed up data.
    Is there any way I could get or as Apples traditional greed ... more money more money ...more .. more??????
    Please help if I can get back my at least contacts and video for free. I do not are for my music. My God it is so difficult to get going with Apple.

    stedman1 wrote:
    A warranty does not cover physical damage. Did you have AppleCare +?
    AppleCare+ doesn't cover loss or theft, only accidental damage.

  • Trying to sync ipad with iphone.. how do i get app content to be backed up to icloud?

    Am  new to Apple.. I was able to get the app I want to appear on my iphone, but the content is not there.  Same for my ibooks; PDFs i downloaded on ipad are not visible on my iphone. help? (iphone 4s, ipad 2)

    When you go through the Setup Assistant it should ask you if you want to Restore from a backup and will let you select your Cloud backup.

Maybe you are looking for

  • Restful service unable to insert data using PL/SQL.

    Hi all, Am running: AL 2.01 standalone mode on OEL 4.8 in VM box A. Oracle database 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in VM box B. Able to performed oracle.example.hr Restful services with no problem. Unable to insert data using AL 2.0.1 but w

  • SO document flow not updated with PR no created

    Hi All, A Purchase Requisitions is created from SO for a line item, i can see the PR generated in report ME5A but not in document flow. Is it a standard behavior or i'm missing something ?? Regards Abhilash

  • Building SOA Composite application using Ant

    I am tring to write an ant script to build a SOA composite application. I have written the script as follows - *<project name="SOA-Build" default="sca-package" basedir=".">* *<description> Automated Build file for SOA composite application </descript

  • How to download flash reader on a mobile that dsnt have system requirements

    I have a blackberry 9320 which dosent support the requirements to download a flash reader to open pdf files is the another way to download on my mobile phn 

  • Why repeated "Your Mail index has been damaged" errors?

    In my Mail.app (running on a white MacBook Pro with Snow Leopard) I frequently (sometimes daily) get the "Your Mail index has been damaged. To repair it, quit Mail." messages. Either letting the system repair or just Force Quit & restarting then I'm