Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

Back Button ACTUALLY Take You to Previous Page

Katya,

This changed the button's permanent color. I would just like to change the button's color when activated.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Back Button ACTUALLY Take You to Previous Page

Hi Mike,

Then override styles for a class .ui-btn-active, for example:
pre.ui-btn-active{
background:red !important;
}/pre

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Back Button ACTUALLY Take You to Previous Page

Hi!
Im using back button in all my pages.

In the startScreen I have a search button that brings me a list the nearest store locations (this screen fires geolocation services and then a geospatial query), then if user taps any of the items on the list, it takes to a detail page.

In detail page, if user clicks "back button" it returns to previous screen (nearest locations) but the two services fires again, even if I call services on load/show/device ready event.

what shoul I do to avoid this services been called again.

If this is a stardar jquery behaviour, how can I do a cache of that page?

I need to solve this because my customer doesnt like to call that services twice. (network usage)

Regards

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Back Button ACTUALLY Take You to Previous Page

Hi Alex,

This is how it is supposed to work. Hope this will be helpful:
http://stackoverflow.com/questions/16...

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Back Button ACTUALLY Take You to Previous Page

Hi!
the above suggestion didnt work for me.

Instead, I tried rendering all pages into one HTML file, doing that, the services didnt call again.

I just have two problems.

  1. the dialogs header (both android and iOs)

    Image

  2. when click new item, the detail page shows the previos data for a moment, before refreshing with the new...

    Is there a way to solve this two problems?

    Regards

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Back Button ACTUALLY Take You to Previous Page

Hi Alex - is your app already shared with us? If so remind please the name of your app.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Back Button ACTUALLY Take You to Previous Page

Hi, after testing the app with render all pages into one HTML, I notice several problems, so using this is not an option.

I want to ask if my problem of calling REST services on "back button" can be solved with echo, using Generic service, or saving service response into a local variable...

Regards

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Back Button ACTUALLY Take You to Previous Page

Hi Alex,

Please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us how to reproduce this.
Echo and generic services are invoked the same way.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Back Button ACTUALLY Take You to Previous Page

hi Katya, instead of working with generic service and Echo, I need to implement infinite scrolling, so, lets continue here:
https://getsatisfaction.com/apperyio/...
Regards

Return to “Issues”