Hello.
I'm new on this forum, because I'm new on Ext + AIR.
I would like to developp a air application to work directly on my wordpress blog.
I've started from air tasks demo, ans I'm trying to make a new data store named "ConfigStore" I would like to store configuration data (login, password) in it
I've created a new file like taskStore, named configstore. I've renamed all in it, columns etc...
I've added init near from tasks :
Code:
tx.data.tasks.init();
tx.data.configs.init();
But when I try use it I've this message on Aptana
Code:
SQLError: 'Error #3115: SQL Error.', details:'no such table: 'config'', operation:'execute', detailID:'2013'
The table is not created, I thought that it were created by the constructor ?
Code:
tx.data.ConfigStore = Ext.extend(Ext.data.GroupingStore, {
constructor: function(){
tx.data.ConfigStore.superclass.constructor.call(this, {
sortInfo:{field: 'configId', direction: "ASC"},
groupField:'configId',
taskFilter: 'all',
reader: new Ext.data.JsonReader({
id: 'configId',
fields: tx.data.Config
})
});
this.conn = tx.data.conn;
this.proxy = new Ext.sql.Proxy(tx.data.conn, 'config', 'configId', this);
},
Thanks for you help. I'm looking for a solution since 2 full days, and it's difficult.
Edouard