Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Return on app after using childBrowser

Question 1. In my app exist 3 pages. I created navigation button from 1 to 2, from 2 to 3, from 3 to website (web site opens in child browser). When I return from web site ( I use buttoon back) and return from page 3 to page 1 (in page 3 exist button home (navigateToPage (page1)) on page 1 start works event pageLoad all the time. If i don't go to web site and go to page 1 from page 3. PageLoad event not work. This is a bug or this is a feature?
Question 2. In page 3 I have table with mapping data on it. After operation page 3 - website - return table exists all time on page, even if I write bad data in no data retrun from server. If I use case page 3 - page 1, for instance, witout moving to website, all work normaly and table doesn't show on page 3.
Thank you in advance.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Return on app after using childBrowser

Hello!

1) It's not a bug. Use pageShow event instead Load
2) Please clarify how do you invoke the service which maps data in table.

Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Return on app after using childBrowser

1) On page load I clear localStorage data. It's doesn't work on page show. Only on page Load.
2) I invoke service on pageShow event. I have table with mapping data on table. Before I go to website table show when data exists and doesn't show when data doesn't exists. But if I go to website and return table show on both cases. In my option table doesn't show in last case. I try hide table use js, but js doesn't work on last case. I can share my project for you looking.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Return on app after using childBrowser

Please make your app link public and send us that link

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Return on app after using childBrowser

Thank you!

1) After you navigate from screen 3 to web site and return back to screen 3 - all your app loads again. Screen 3 becames start screen. Screens 2 and 3 do not exist (that's why after you go to page 1 - there is a Page Load event) and that's why Back button disappears on screen 3 (because it's start screen now)

2) How do you navigate to web site if there is nothing found (there is no button Go to web site)

Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Return on app after using childBrowser

In begin I put correct name (lipitor for instance) and go to website via the button. Then I retrur and put incorrect name (like aaaaaa) on result page I see message about nothing found and table with lipitor information.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Return on app after using childBrowser

Hello! Please sorry for delay. Working on it...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Return on app after using childBrowser

Hello! After returning to page GoodRX_resultsPage it becames main page and search result doesn't save on that page.

Change Tiggr('resultsGrid').show(); on pageshow GoodRX_resultsPage to $('table[name=resultsGrid]').hide(); - you'll hide search results.

Ricki Ricardo
Posts: 0
Joined: Fri Nov 16, 2012 9:30 am

Return on app after using childBrowser

I tried, but it doesn't work.
Tiggr('resultsGrid').hide();
$('table[name=resultsGrid]').hide();
console.log('hide table', $('table[name=resultsGrid]'),Tiggr('resultsGrid') );
Table doesn't hide, and console.log doesn't write anything.

Return to “Issues”