Mercurial > lada > lada-client
view app/view/kommentare/CreateForm.js @ 189:214d1b274a50
As the model now should have a readonly flag, the check if the form must be
rendered as readonly was moved to the place where the model is actually bound
to the form.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 05 Jul 2013 14:49:15 +0200 |
parents | 7b1140bd8b3d |
children | 6527b1598196 |
line wrap: on
line source
Ext.define('Lada.view.kommentare.CreateForm', { extend: 'Lada.view.widgets.LadaForm', model: 'Lada.model.Kommentar', initComponent: function() { this.items = [ { xtype: 'textfield', name: 'erzeuger', fieldLabel: 'Erzeuger' }, { xtype: 'datefield', name: 'kdatum', fieldLabel: 'Datum' }, { xtype: 'textareafield', name: 'ktext', fieldLabel: 'Text' } ]; this.callParent(); } });