comparison app/model/DatensatzErzeuger.js @ 1003:15d8c64049d1 stammdatengrids

Datensatzerzeuger now uses the server. Added i18n to confirmation messages
author Dustin Demuth <dustin@intevation.de>
date Fri, 15 Jan 2016 14:42:29 +0100
parents f73ca04d73a7
children 1df6b6210b42 1251094e7500
comparison
equal deleted inserted replaced
999:f73ca04d73a7 1003:15d8c64049d1
29 if (!v) { 29 if (!v) {
30 return v; 30 return v;
31 } 31 }
32 return new Date(v); 32 return new Date(v);
33 } 33 }
34 /*
34 }, { 35 }, {
35 name: 'treeModified', 36 name: 'treeModified',
36 serialize: function(value) { 37 serialize: function(value) {
37 if (value === '') { 38 if (value === '') {
38 return null; 39 return null;
45 if (value === '') { 46 if (value === '') {
46 return null; 47 return null;
47 } 48 }
48 return value; 49 return value;
49 } 50 }
51 */
50 }], 52 }],
51 53
52 idProperty: 'id', 54 idProperty: 'id',
53 55
54 proxy: { 56 proxy: {
55 type: 'memory', 57 type: 'rest',
56 //url: 'lada-server/rest/datensatzerzeuger', 58 url: 'lada-server/rest/datensatzerzeuger',
57 reader: { 59 reader: {
58 type: 'json', 60 type: 'json',
59 root: 'data' 61 root: 'data'
60 } 62 }
61 } 63 }

http://lada.wald.intevation.org