Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

storage info show one next page

hello
I set two storages when clicking the button and negative to next page.
Image

I hope the storages info can import to the labels on next page.
I set the clicking event of load(also in page show),and maping like below.
Image
Image
but it still now working,how can I do that?thanks!!!
Image

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

storage info show one next page

sorry
I find this tutorial and try to find a way out.
but also not working!!
plz help me!!
http://devcenter.appery.io/tutorials/...
Image
Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

storage info show one next page

Hello,

Please clarify this[quote:]I set the clicking event of load(also in page show),and maping like below. [/quote] .

How to achieve:

  1. You create localStorage variable from Model&Storage http://devcenter.appery.io/documentat....

  2. You set localStorage variables on first page (on button click).

  3. You retrieve it with code http://devcenter.appery.io/documentat... on load event for example. Your code seems to be fine.

    Make sure you use correct label names.
    Also check browser console whether there are errors.

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

storage info show one next page

thanks for your reply.
can the label value be set for two variables?
for example:when click "a" button,it will set the localstorage variable for "a_test".
when click "b" button,it will also set the localstorage variable for "b_test" in the same page?
I can't let the second part happen,so I have to set two labels with same text separate.
This is inefficient.

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

storage info show one next page

Hi Spark -

[quote:]can the label value be set for two variables?
for example:when click "a" button,it will set the localstorage variable for "a_test".
when click "b" button,it will also set the localstorage variable for "b_test" in the same page?
[/quote]
Do you mean here one label and two separate buttons?

[quote:]I can't let the second part happen,so I have to set two labels with same text separate.[/quote]
Read the value form one label and store them in different localStorage variables.

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

storage info show one next page

Illya,
yap,one label and two separate buttons.
I have to create two labels to store them in two localStorage variables.
can I do that in one label?
thanks for your kindly help!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

storage info show one next page

Hello,

This should be possible. You will need to think this logic carefully.

Spark Chao
Posts: 0
Joined: Sat Jan 17, 2015 6:25 am

storage info show one next page

okI will try againthanks

Return to “Issues”