annotate app/store/Info.js @ 330:9b9e98dacb7c

Inherit form model.base. Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:54:24 +0200
parents d19ad9d28de5
children 39297b8e5ba2
rev   line source
259
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Info', {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 fields: ['user', 'groups', 'version'],
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 proxy: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 type: 'rest',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 url: 'server/rest/info',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 reader: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 type: 'json',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 root: 'data'
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 });
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13

http://lada.wald.intevation.org