View Full Version : *****) about event handling..

15 Jun 2011, 1:29 AM
Hello, I'm Korean. Thanks to the people who answered this forum.

I'm editing the O'reilly example.
Instead json proxy data, I directly inserted data:[{...},{...},{...},...].
But how do I treat this ?
listeners: {load: { fn: this.initializeData, scope: this }}
load,add,datachanged,update... all of this don't work.

Hanni Sullivan
15 Jun 2011, 5:17 AM
Hi toonitw,

are you just messing around with the code? If your looking for a quick hack to get static data in there my advice would be to format all your static data as JSON and then put it into a file called YourChoice.json. This file should then be placed onto your server with the rest of your JavaScript files. Finally replace the URL of the store with the URL which points to your JSON file.

15 Jun 2011, 5:36 AM
You are the answer. Thanks a lot :)

Who's that girl?

Hanni Sullivan
15 Jun 2011, 6:06 AM
You're welcome.

The girl is "Hanni Sullivan" one of the main characters in the German version of St. Clare's (http://en.wikipedia.org/wiki/St._Clare%27s_series).