extjs Doku & Form Buttons & Fileupload

http://wiki.shopware.de/_detail_608.html Was muss ich tun, damit ich mir die Doku ansehen kann? gibt es da einen Trick? ist ja hier verlinkt: http://wiki.shopware.de/Tutorials-zur-P … l_522.html Problem 1: es werden keine Speichern-Buttons der FormPanel angezeigt. Stattdessen wird eine ca 50Px hohe Fläche angezeigt. Entferne ich den this.buttons Teil, verschwindet auch die Fläche. Problem 2: den Fileupload verstehe ich auch nicht ganz. Wieso gibt es da einen extra Button? Wird der Upload nicht mit dem absenden des Formulars gestartet? Ich denke dafür würde ich selber Lösungen finden, wenn ich mich irgendwo einlesen könnte! Doku BITTE :slight_smile: wir haben auch die Enterprise Lizenz :money: Danke & Grüße, Alex Shopware.Filialen.DetailForm = Ext.extend(Ext.FormPanel, { labelWidth: 75, frame: true, defaultType: 'textfield', fileUpload: true, layout: 'form', initComponent: function() { if( typeof this.filialen == 'object' ) { var items = []; $.each( this.filialen, function(i, filiale){ items.push( new Ext.form.FieldSet({ title: 'Banner zu Slider zusammenfassen', width: 650, style: { marginTop: '0px',marginLeft:'0px'}, frame: false, items: [{ xtype: 'fileuploadfield', emptyText: 'Bitte wählen...', fieldLabel: 'Datei', allowBlank: true, name: 'file', buttonText: '' }] }) ); }); } this.items = items; this.buttons = [{ text: 'Speichern', handler: function(){ this.getForm().submit({ url: '{url module=backend controller=Filialen action=saveFilialen}'}); }, scope:this }]; Shopware.Filialen.DetailForm.superclass.initComponent.call(this); this.url = '{url module=backend controller=Filialen action=saveFilialen}'; } }); (function(){ View = Ext.extend(Ext.Viewport, { layout: 'absolute', initComponent: function() { // subshop reiter laden var reiter = []; this.shops = {$filialen}; $.each( this.shops, function(shopID, shop){ var forms = []; forms.push( new Shopware.Filialen.DetailForm({ title: "neue Filiale", action: "insert", filialen: [{ name: '', shopID: null, pickup: 0 }] }) ); if( typeof shop.filialen == 'object' ) { forms.push( new Shopware.Filialen.DetailForm({ title: "Filialen bearbeiten", action: "update", filialen: shop.filialen }) ); } reiter.push({ title: shop.name, items: [forms] }); }); this.tabs = new Ext.TabPanel({ region: 'center', activeTab: 0, bodyBorder: true, border: true, plain: true, hideBorders:false, defaults:{ autoScroll: true}, items: reiter }); this.items = [this.tabs]; View.superclass.initComponent.call(this); } }); Shopware.Filialen.View = View; })();; Ext.onReady(function(){ Filialen = new Shopware.Filialen.View; });

yay, die Doku ist wieder da :thumbup: Danke! :kiss: