Page 3 of 4

Oops - an error...

Posted: Mon Jan 05, 2015 12:20 am
by Yurii Orishchuk

Hi Cuatro ,

Please show us some screen shots of your problem.

Hi Mittelheisser,

Unfortunatly currently is not clear about your problem.

Please describe it with details, perhaps screen shots.

Regards.


Oops - an error...

Posted: Mon Jan 05, 2015 7:16 am
by Mittelheisser

Hello,

As for me, I modified the design and I use a database. No more error problem "Oops ..."

Now I want a javascript code for a button - or list - to display the page with id "C", for example with a database that includes the id "A to M". Something like that "to page appaery.navigate +" id database ".

good day and happy new year


Oops - an error...

Posted: Mon Jan 05, 2015 2:21 pm
by Illya Stepanov

Hi Mittelheisser,

Please explain with more details what you're trying to implement exactly.
And describe the structure of your database.


Oops - an error...

Posted: Mon Jan 05, 2015 2:57 pm
by Mittelheisser

Hello,

I have a database with two column: Article + reference.
I created a page from the tutorial "Building a mobile app with pagination."
So I can navigate the odre the database with the arrows. I would like now to call a page from a button on the panel, not necessarily the first ...
I would like to call on the "image A" Article L.123-4 from the panel "image B" with javascript or other relationship, is it possible? Image Image


Oops - an error...

Posted: Mon Jan 05, 2015 11:21 pm
by Yurii Orishchuk

Hello,

You just need to pass this value into the "where" request parameter for new list/query service datasource.

Please pass following tutorial to understand how to do it. http://devcenter.appery.io/tutorials/...

Regards.


Oops - an error...

Posted: Tue Jan 06, 2015 7:00 pm
by Mittelheisser

Hello,

Sorry, I do not understand.

It is not possible with a javascript code to display a page asking a particular Id ?
A javascript on a button to display a page with a given X?

I really need a navigation solution to display only information from a database.

with localStorage.setItem; get.execute ...? i dont no?

Best Regards


Oops - an error...

Posted: Wed Jan 07, 2015 1:50 am
by Yurii Orishchuk

Hi Mittelheisser,

Yes you can do it.

And here is tutorial that pretty describes how to do it:

http://devcenter.appery.io/tutorials/...

Also you can store needed value between pages in local storage with following code:

pre

localStorage.setItem("variablName", "variablevalue");

/pre

Get stored value on the needed page with following JS code:

pre

var goalVariable = localStorage.getItem("variablName");

alert("goalVariable = " + goalVariable);

/pre

Regards.


Oops - an error...

Posted: Fri Jan 09, 2015 10:09 pm
by Mittelheisser

Hello,

I tried, but no results ...

Can you give me an example of the basic tutorial: http://devcenter.appery.io/tutorials/...
(Building a mobile app with data pagination)

If in Testing the app tab, if the first image I add a button to access the last page, what would the javascript code?

Please

thank you


Oops - an error...

Posted: Mon Jan 12, 2015 3:43 am
by Yurii Orishchuk

Hi Mittelheisser ,

Yes here is requested tutorial.

http://devcenter.appery.io/tutorials/...

Regards.


Oops - an error...

Posted: Tue Jan 13, 2015 8:43 pm
by Mittelheisser

Hello,

OK, thank you, I understand, you do not want to help me.

I'll repost a message hoping that a user will answer me.

Regards.