|
Rank: Advanced Member Groups: Registered
Joined: 9/8/2009(UTC) Posts: 91 Location: Belgium
|
Code: GET FORM ===========
NOT WORKING ============ new Everest.Cms.TextContentFormPanel({ nodeId: '5551', folderUUID: '9b796fdf-5130-46b0-95c0-2f5a28fd24cf', application: 'Wicreations', schema: 'e0c3f3ae-d5a8-496e-ac50-b070ebfdfd1f', formType: 'form', path: '', labelWidth: 100, url: 'Kooboo_Content/submit', loadUrl: 'Kooboo_Content/GetDetail', frame: true, containerType: 'form', title: 'Content>about', bodyStyle: 'padding:5px 5px 0', defaults: { width: 230 }, defaultType: 'textfield', schemaName: 'e0c3f3ae-d5a8-496e-ac50-b070ebfdfd1f', fileUpload: false, items: [{ xtype: 'textfield', fieldLabel: 'Title', name: 'Title', dataIndex: 'Title', modifiable: true, width: 230, allowBlank: true, autocomplete: 'off', maxlength: '256', maxLength: 255, maxLength: 255, listeners: {} }, { xtype: 'checkbox', fieldLabel: 'Published', name: 'Published', dataIndex: 'Published', modifiable: true, width: 230, allowBlank: true, checked: true, resizable: true, listeners: {} }, { xtype: 'numberfield', fieldLabel: 'Volgorde', name: 'Volgorde', dataIndex: 'Volgorde', modifiable: true, width: 230, allowBlank: true, listeners: {} }, { xtype: 'ckeditor', fieldLabel: 'Content', name: 'Content', dataIndex: 'Content', modifiable: true, width: 230, allowBlank: true, anchor: '95% 70%', listeners: {}}], childForms: [] })
NOT WORKING with TEXTAREA(this works) new Everest.Cms.TextContentFormPanel({ nodeId:'5551',folderUUID:'9b796fdf-5130-46b0-95c0-2f5a28fd24cf',application:'Wicreations',schema:'e0c3f3ae-d5a8-496e-ac50-b070ebfdfd1f',formType:'form',path:'', labelWidth: 100, url:'Kooboo_Content/submit', loadUrl:'Kooboo_Content/GetDetail', frame:true, containerType:'form', title: 'Content>about', bodyStyle:'padding:5px 5px 0', defaults: {width: 230}, defaultType: 'textfield', schemaName:'e0c3f3ae-d5a8-496e-ac50-b070ebfdfd1f', fileUpload: false, items: [{xtype:'textfield',fieldLabel:'Title',name:'Title',dataIndex:'Title',modifiable:true,width: 230,allowBlank:true ,autocomplete: 'off', maxlength: '256' ,maxLength:255,maxLength:255,listeners:{}},{xtype:'checkbox',fieldLabel:'Published',name:'Published',dataIndex:'Published',modifiable:true,width: 230,allowBlank:true ,checked:true,resizable:true,listeners:{}},{xtype:'numberfield',fieldLabel:'Volgorde',name:'Volgorde',dataIndex:'Volgorde',modifiable:true,width: 230,allowBlank:true ,listeners:{}},{xtype:'textarea',fieldLabel:'Content',name:'Content',dataIndex:'Content',modifiable:true,width: 230,allowBlank:true ,width:600,height:200 ,listeners:{}}], childForms:[] })
WORKING =========== new Everest.Cms.TextContentFormPanel({ nodeId: '5538', folderUUID: '4d7ccd51-6722-4efe-8ba7-cd735bc96162', application: 'wimotion', schema: '0447304b-888d-4c26-8885-1af9c329a5f6', formType: 'form', path: '', labelWidth: 100, url: 'Kooboo_Content/submit', loadUrl: 'Kooboo_Content/GetDetail', frame: true, containerType: 'form', title: 'Content>Product', bodyStyle: 'padding:5px 5px 0', defaults: { width: 230 }, defaultType: 'textfield', schemaName: '0447304b-888d-4c26-8885-1af9c329a5f6', fileUpload: true, items: [{ xtype: 'textfield', fieldLabel: 'Title', name: 'Title', dataIndex: 'Title', modifiable: true, width: 230, allowBlank: false, autocomplete: 'off', maxlength: '256', maxLength: 255, maxLength: 255, listeners: {} }, { xtype: 'textfield', fieldLabel: 'User Key', name: 'UserKey', dataIndex: 'UserKey', modifiable: true, width: 230, allowBlank: true, autocomplete: 'off', maxlength: '256', rightLabel: 'User defined key value for data query.', maxLength: 200, listeners: {} }, { xtype: 'checkbox', fieldLabel: 'Published', name: 'Published', dataIndex: 'Published', modifiable: true, width: 230, allowBlank: true, checked: true, resizable: true, listeners: {} }, { xtype: 'fileuploadfield', fieldLabel: 'Image', name: 'Image', dataIndex: 'Image', modifiable: true, width: 230, allowBlank: true, listeners: {} }, { xtype: 'textarea', fieldLabel: 'Video', name: 'Video', dataIndex: 'Video', modifiable: true, width: 230, allowBlank: true, width: 600, height: 200, listeners: {} }, { xtype: 'numberfield', fieldLabel: 'Volgorde', name: 'Volgorde', dataIndex: 'Volgorde', modifiable: true, width: 230, allowBlank: true, listeners: {} }, { xtype: 'fileuploadfield', fieldLabel: 'Detail Image', name: 'DetailImage', dataIndex: 'DetailImage', modifiable: false, width: 230, allowBlank: true, listeners: {} }, { xtype: 'textarea', fieldLabel: 'Text', name: 'Text', dataIndex: 'Text', modifiable: true, width: 230, allowBlank: true, width: 600, height: 200, listeners: {} }, { xtype: 'ckeditor', fieldLabel: 'Technical Text', name: 'TechnicalText', dataIndex: 'TechnicalText', modifiable: true, width: 230, allowBlank: true, anchor: '95% 70%', listeners: {} }, { xtype: 'multiSelect', fieldLabel: 'Category', name: 'Ref_Category', dataIndex: 'Ref_Category', modifiable: true, width: 230, allowBlank: true, schemaUUID: 'a74b5928-7588-4cf5-b107-df5d078b753d', schemaName: 'a74b5928-7588-4cf5-b107-df5d078b753d', keyColumnName: 'UUID', titleColumnName: 'Title', getFormUrl: 'Kooboo_MultiSelectContent/GetForm', listeners: {}}], childForms: [] })
These are the POST getform. Not working is the content item with ckeditor, not working with textarea is the same content item but with a textarea so it works and working is a content item in a different application with ckeditor that works. I don't see anything different so I don't think getting the form is the problem. It not working both online and offline this really weird.
|