Mercurial > lada > lada-client
comparison app/view/form/Ortserstellung.js @ 1310:9b50bf4c218b
Set textfield lengths according to database schema.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 02 Feb 2017 19:04:02 +0100 |
parents | 1bcc3a62e909 |
children | 2d92be45df9e |
comparison
equal
deleted
inserted
replaced
1309:1bcc3a62e909 | 1310:9b50bf4c218b |
---|---|
83 labelWidth: 125, | 83 labelWidth: 125, |
84 fieldLabel: i18n.getMsg('orte.koordx'), | 84 fieldLabel: i18n.getMsg('orte.koordx'), |
85 name: 'koordXExtern', | 85 name: 'koordXExtern', |
86 allowDecimals: true, | 86 allowDecimals: true, |
87 decimalPrecision: 5, | 87 decimalPrecision: 5, |
88 maxLength: 10, | 88 maxLength: 22, |
89 listeners: { | 89 listeners: { |
90 change: { | 90 change: { |
91 fn: function() { me.checkCommitEnabled() } | 91 fn: function() { me.checkCommitEnabled() } |
92 } | 92 } |
93 } | 93 } |
96 labelWidth: 125, | 96 labelWidth: 125, |
97 fieldLabel: i18n.getMsg('orte.koordy'), | 97 fieldLabel: i18n.getMsg('orte.koordy'), |
98 name: 'koordYExtern', | 98 name: 'koordYExtern', |
99 allowDecimals: true, | 99 allowDecimals: true, |
100 decimalPrecision: 5, | 100 decimalPrecision: 5, |
101 maxLength: 10, | 101 maxLength: 22, |
102 listeners: { | 102 listeners: { |
103 change: { | 103 change: { |
104 fn: function() { me.checkCommitEnabled() } | 104 fn: function() { me.checkCommitEnabled() } |
105 } | 105 } |
106 } | 106 } |
112 maxLength: 10, | 112 maxLength: 10, |
113 allowDecimals: true | 113 allowDecimals: true |
114 }, { | 114 }, { |
115 xtype: 'tfield', | 115 xtype: 'tfield', |
116 labelWidth: 125, | 116 labelWidth: 125, |
117 maxLength: 100, | 117 maxLength: 15, |
118 name: 'kurztext', | 118 name: 'kurztext', |
119 fieldLabel: i18n.getMsg('orte.kurztext') | 119 fieldLabel: i18n.getMsg('orte.kurztext') |
120 },{ | 120 },{ |
121 xtype: 'tfield', | 121 xtype: 'tfield', |
122 labelWidth: 125, | 122 labelWidth: 125, |
123 maxLength: 100, | |
123 fieldLabel: i18n.getMsg('orte.langtext'), | 124 fieldLabel: i18n.getMsg('orte.langtext'), |
124 name: 'langtext' | 125 name: 'langtext' |
125 },{ | 126 },{ |
126 xtype: 'tfield', | 127 xtype: 'tfield', |
127 labelWidth: 125, | 128 labelWidth: 125, |
129 maxLength: 70, | |
128 fieldLabel: i18n.getMsg('orte.berichtstext'), | 130 fieldLabel: i18n.getMsg('orte.berichtstext'), |
129 name: 'berichtstext' | 131 name: 'berichtstext' |
130 }, { | 132 }, { |
131 xtype: 'tfield', | 133 xtype: 'tfield', |
132 labelWidth: 125, | 134 labelWidth: 125, |
134 name: 'anlageId', | 136 name: 'anlageId', |
135 fieldLabel: i18n.getMsg('orte.anlageId') | 137 fieldLabel: i18n.getMsg('orte.anlageId') |
136 }, { | 138 }, { |
137 xtype: 'tfield', | 139 xtype: 'tfield', |
138 labelWidth: 125, | 140 labelWidth: 125, |
139 maxLength: 100, | 141 maxLength: 1, |
140 name: 'zone', | 142 name: 'zone', |
141 fieldLabel: i18n.getMsg('orte.zone') | 143 fieldLabel: i18n.getMsg('orte.zone') |
142 },{ | 144 },{ |
143 xtype: 'tfield', | 145 xtype: 'tfield', |
144 labelWidth: 125, | 146 labelWidth: 125, |
145 maxLength: 100, | 147 maxLength: 2, |
146 name: 'sektor', | 148 name: 'sektor', |
147 fieldLabel: i18n.getMsg('orte.sektor') | 149 fieldLabel: i18n.getMsg('orte.sektor') |
148 },{ | 150 },{ |
149 xtype: 'tfield', | 151 xtype: 'tfield', |
150 labelWidth: 125, | 152 labelWidth: 125, |
152 name: 'ortTyp', | 154 name: 'ortTyp', |
153 fieldLabel: i18n.getMsg('orte.ortTyp') | 155 fieldLabel: i18n.getMsg('orte.ortTyp') |
154 },{ | 156 },{ |
155 xtype: 'tfield', | 157 xtype: 'tfield', |
156 labelWidth: 125, | 158 labelWidth: 125, |
157 maxLength: 100, | 159 maxLength: 10, |
158 name: 'zustaendigkeit', | 160 name: 'zustaendigkeit', |
159 fieldLabel: i18n.getMsg('orte.zustaendigkeit') | 161 fieldLabel: i18n.getMsg('orte.zustaendigkeit') |
160 },{ | 162 },{ |
161 xtype: 'tfield', | 163 xtype: 'tfield', |
162 labelWidth: 125, | 164 labelWidth: 125, |
163 maxLength: 100, | 165 maxLength: 10, |
164 name: 'mpArt', | 166 name: 'mpArt', |
165 fieldLabel: i18n.getMsg('orte.mpArt') | 167 fieldLabel: i18n.getMsg('orte.mpArt') |
166 },{ | 168 },{ |
167 xtype: 'tfield', | 169 xtype: 'tfield', |
168 labelWidth: 125, | 170 labelWidth: 125, |
169 maxLength: 100, | 171 maxLength: 10, |
170 name: 'nutsCode', | 172 name: 'nutsCode', |
171 fieldLabel: i18n.getMsg('orte.nutsCode') | 173 fieldLabel: i18n.getMsg('orte.nutsCode') |
172 },{ | 174 },{ |
173 xtype: 'tfield', | 175 xtype: 'tfield', |
174 labelWidth: 125, | 176 labelWidth: 125, |
175 maxLength: 100, | 177 maxLength: 7, |
176 name: 'ozId', | 178 name: 'ozId', |
177 fieldLabel: i18n.getMsg('orte.ozId') | 179 fieldLabel: i18n.getMsg('orte.ozId') |
178 }]; | 180 }]; |
179 | 181 |
180 this.dockedItems = [{ | 182 this.dockedItems = [{ |