gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

Oki , iam still strugling to find out why it is not working, by debuging in firebug i can see that html for the detail page and js is not loading up.....

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Building a Clickable List App with HTML5 Database Storage

What exact JavaScript is not loading...?

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

sorry, i was wrong. The service is invoking, because i get the result and it shows the title of Activity, but only the first record from db/json. It shoud display "kickboksing" if i click that, but what ever i click on it shows me "Helsestudio". So service is invoking but passing aktID as parameter and get result is not working....

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

can you please check what is wrong with my service, it is invoking but not giving correct result.

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

HI Max

Service is invoking, and it seem like it is returning the correct result. But now something out of the blue happend and it is not rendering the data on details page. If i look at firebug, se pic:
Image

this result iam getting when i click on listitem Barnekurs, so it looks like service is invoking correct, but data is not rendered correct.

I will appriciate if you could take a look at it, ihave been stucked with this issue, and soon is demo day and i have to demonstrate for my customer....

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Building a Clickable List App with HTML5 Database Storage

What is rendered on the page?

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

page is blank, i have to labels there, one for showing the aktitet name, another label is for showing prise.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Building a Clickable List App with HTML5 Database Storage

How does your service response mapping look? Are you invoking the service on page load?

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

yes iam invoking the the service on page load....
My mappings look like:
Image Image

gonadn
Posts: 0
Joined: Wed Apr 03, 2013 11:03 pm

Building a Clickable List App with HTML5 Database Storage

// screen onload
screen_89D2_onLoad = j_34_onLoad = function() {
screen_89D2_elementsExtraJS();
try {
PriseDetailService.execute({})
} catch (ex) {
console.log(ex.name + ' ' + ex.message);
hideSpinner();
};
j_34_deviceEvents();
j_34_windowEvents();
screen_89D2_elementsEvents();
}

Return to “Issues”