Page 1 of 1

Homepage image override from service

Posted: Fri Apr 25, 2014 12:15 am
by John6122514

I have a home page image for my logo. When I go to another page that has images being loaded from a rest service and then go back to my home page the first image from the rest services overrides my logo image.


Homepage image override from service

Posted: Fri Apr 25, 2014 1:12 am
by Alena Prykhodko

Hi John,

Please provide us with more details about image services implementation.

How did you set that images (may be you are using some JS code?)


Homepage image override from service

Posted: Sun Apr 27, 2014 4:04 pm
by John6122514

Hi,

The service is an XML service and the images are part of a larger response. The images are setup with an array and I assign the array to a Carousel. No special JS code to pull the images into the component. But I am using the following JS to run the Carousel.
var interval = 3000; // == 3 seconds
function moveCarousel() {
if ($("[dsid=mobilecarousel_109]", $.mobile.activePage ).length) {
Appery( "mobilecarousel_109" ).carouselRoot.carousel("next");
setTimeout(moveCarousel, interval);
}
}
setTimeout(moveCarousel, interval);


Homepage image override from service

Posted: Sun Apr 27, 2014 5:42 pm
by Illya Stepanov

Hi John, can you show us an XML service response example?


Homepage image override from service

Posted: Wed Apr 30, 2014 10:32 pm
by John6122514

-
-
-
-
-
-
-


Homepage image override from service

Posted: Wed Apr 30, 2014 11:06 pm
by Illya Stepanov

Hi John, use tag pre<code><code>/pre, please.


Homepage image override from service

Posted: Wed Apr 30, 2014 11:32 pm
by John6122514

code
element name="photo_data" minOccurs="1"
xsd:complexType
xsd:sequence
xsd:element name="photo" type="xsd:string" minOccurs="1"
xsd:sequence
xsd:complexType
sd:element

/code


Homepage image override from service

Posted: Thu May 01, 2014 4:23 am
by Illya Stepanov

John, can you please give us a public link to your app? (You can mail it to us directly to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a)
:: http://docs.appery.io/documentation/s...


Homepage image override from service

Posted: Fri May 02, 2014 1:48 am
by Yurii Orishchuk

Hi John.

We can't to find a problem in your APP.

Please specify steps to reproduce it.

Thanks.


Homepage image override from service

Posted: Sun May 11, 2014 7:02 am
by John6122514

The issue is no longer happening. Not sure what fixed issue.