Page 2 of 3

Back Button ACTUALLY Take You to Previous Page

Posted: Thu Feb 13, 2014 9:31 pm
by Mike6580064

Katya,

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


Back Button ACTUALLY Take You to Previous Page

Posted: Fri Feb 14, 2014 4:05 pm
by Kateryna Grynko

Hi Mike,

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


Back Button ACTUALLY Take You to Previous Page

Posted: Sat Feb 15, 2014 6:08 pm
by Mike6580064

Thank you


Back Button ACTUALLY Take You to Previous Page

Posted: Fri May 09, 2014 5:21 pm
by Alex GG

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


Back Button ACTUALLY Take You to Previous Page

Posted: Fri May 09, 2014 5:54 pm
by Kateryna Grynko

Hi Alex,

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


Back Button ACTUALLY Take You to Previous Page

Posted: Fri May 09, 2014 10:35 pm
by Alex GG

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


Back Button ACTUALLY Take You to Previous Page

Posted: Sat May 10, 2014 5:02 am
by Illya Stepanov

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


Back Button ACTUALLY Take You to Previous Page

Posted: Sat May 10, 2014 6:47 am
by Alex GG

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


Back Button ACTUALLY Take You to Previous Page

Posted: Mon May 12, 2014 8:20 am
by Kateryna Grynko

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.


Back Button ACTUALLY Take You to Previous Page

Posted: Mon May 12, 2014 3:44 pm
by Alex GG

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