Mercurial > lada > lada-client
comparison app/model/Ortdetail.js @ 154:16ba7e2465fd
Implemented creating and editing new l_ort. Created editing orte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 02 Jul 2013 15:28:41 +0200 |
parents | e9fb4814153a |
children | c7f0bf80761b |
comparison
equal
deleted
inserted
replaced
153:e9fb4814153a | 154:16ba7e2465fd |
---|---|
2 extend: 'Ext.data.Model', | 2 extend: 'Ext.data.Model', |
3 fields: [ | 3 fields: [ |
4 {name: "ortId"}, | 4 {name: "ortId"}, |
5 {name: "bezeichnung"}, | 5 {name: "bezeichnung"}, |
6 {name: "beschreibung"}, | 6 {name: "beschreibung"}, |
7 {name: "usnscharf"}, | 7 {name: "unscharf"}, |
8 {name: "nutsCode"}, | 8 {name: "nutsCode"}, |
9 {name: "koordXExtern"}, | 9 {name: "koordXExtern"}, |
10 {name: "koordYExtern"}, | 10 {name: "koordYExtern"}, |
11 {name: "hoeheLand"}, | 11 {name: "hoeheLand"}, |
12 {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()}, | 12 {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()}, |
13 {name: "longitude", type: 'float'}, | 13 {name: "longitude", type: 'float'}, |
14 {name: "latitude", type: 'float'}, | 14 {name: "latitude", type: 'float'}, |
15 {name: "staatId"}, | 15 {name: "staatId"}, |
16 {name: "gemId"}, | 16 {name: "gemId"}, |
17 {name: "oTyp"} | 17 {name: "otyp"} |
18 ], | 18 ], |
19 idProperty: "ortId", | 19 idProperty: "ortId", |
20 proxy: { | 20 proxy: { |
21 type: 'rest', | 21 type: 'rest', |
22 appendId: true, //default | 22 appendId: true, //default |