facebook

Go Back event not working in multipage application

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #349776 Reply

    Plymouth1
    Member

    I have a page that I show when user clicks on “Gear” icon on every page in my multipage application. The page contains a “Close” button (upper-right) on the new page. The action specified is Go Back. This event does not fire or, if it does fire, it doesn’t do anything. Anyone else have this issue?

    #349777 Reply

    Hi brians,

    What Mobione version are you using?
    Are you developing a native app or a web app?
    What is your device model and OS?

    #349804 Reply

    Plymouth1
    Member

    Version 2.6.2…
    Go back doesn’t appear to work in either case (though I am deploying a native app).
    iPhone 4/4S, iOS7.

    #349805 Reply

    Plymouth1
    Member

    By way of clarification, the close icon goes back to page 1 in the multipage app rather than going back to the page from which it opened. So… if I’m on page 7 and I open the new page via the “Gear”, Go Back goes back to Page 1 rather than Page 7.

    #349808 Reply

    Code_A
    Member

    You could always add code to redirect to the page you want to show:

    phoneui.gotoMultiPagePage('m1-<screen >-multiPage1', 'SET_PAGE', 'm1-<screen>-page1', 'NONE');

    There is a code example toward the bottom of the using the multipage widget that demonstrates how to get the old page ID.

    #349824 Reply

    Plymouth1
    Member

    Thanks… By the way, is there a developers reference guide someplace that I’m not aware of?

    #349829 Reply

    Code_A
    Member

    A lot of information and documentation can be found in the Learning Center

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Go Back event not working in multipage application

You must be logged in to post in the forum log in