Commit 90075525 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Migration to Dbui namespace in the documentation, test sctipts, ...

parent 4505e5b5
......@@ -19,7 +19,7 @@ from datetime import datetime
def get_plugin_dbui_release():
JSBASE = '../../static/plugin_dbui/src/App.js'
JSBASE = '../../static/plugin_dbui/src/Dbui.js'
s = open(JSBASE, 'rb').read()
m = re.match("(.+ version: ')([\w._-]*)('.+)", s, re.DOTALL)
return m.group(2)
......
......@@ -10,17 +10,17 @@
.. _Ext.form.field.Checkbox:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Checkbox
.. _App.form.field.CombBox:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.form.field.CombBox
.. _Dbui.form.field.CombBox:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.form.field.CombBox
.. _App.data.DirectStore:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.data.DirectStore
.. _Dbui.data.DirectStore:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.data.DirectStore
.. _Ext.form.field.Field:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Field
.. _App.form.field.AceEditor:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.form.field.AceEditor
.. _Dbui.form.field.AceEditor:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.form.field.AceEditor
.. _Ext.form.FieldContainer:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.FieldContainer
......@@ -28,11 +28,11 @@
.. _Ext.form.field.Date:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Date
.. _App.form.field.Dict:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.form.field.Dict
.. _Dbui.form.field.Dict:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.form.field.Dict
.. _App.form.field.List:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.form.field.List
.. _Dbui.form.field.List:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.form.field.List
.. _Ext.form.field.Number:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Number
......@@ -49,8 +49,8 @@
.. _Ext.form.field.Time:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Time
.. _App.form.Panel:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.form.Panel
.. _Dbui.form.Panel:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.form.Panel
.. _Ext.grid.Column:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.grid.Column
......@@ -58,11 +58,11 @@
.. _Ext.grid.ColumnModel:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.grid.ColumnModel
.. _App.grid.Filter:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.grid.Filter
.. _Dbui.grid.Filter:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.grid.Filter
.. _App.grid.Panel:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.grid.Panel
.. _Dbui.grid.Panel:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.grid.Panel
.. _Ext.grid.Panel:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.grid.Panel
......@@ -73,8 +73,8 @@
.. _Ext.grid.TemplateColumn:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.grid.TemplateColumn
.. _App.panel.GridWithFilter:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.panel.GridWithFilter
.. _Dbui.panel.GridWithFilter:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.panel.GridWithFilter
.. _Ext.data.JsonStore:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.data.JsonStore
......@@ -88,8 +88,8 @@
.. _Ext.panel.Panel:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.panel.Panel
.. _App.panel.WithUrlSelector:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.panel.WithUrlSelector
.. _Dbui.panel.WithUrlSelector:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.panel.WithUrlSelector
.. _Ext.data.Store:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.data.Store
......@@ -97,8 +97,8 @@
.. _Ext.tab.Panel:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.tab.Panel
.. _App.container.Viewport:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/App.container.Viewport
.. _Dbui.container.Viewport:
https://marprod.in2p3.fr/plugin_dbui_book/static/plugin_dbui/docs/jsduck/index.html#!/api/Dbui.container.Viewport
.. _Ext.Window:
http://docs-origin.sencha.com/extjs/4.2.1/#!/api/Ext.Window
......
......@@ -20,7 +20,7 @@ from datetime import datetime
def get_plugin_dbui_release():
JSBASE = '../../static/plugin_dbui/src/App.js'
JSBASE = '../../static/plugin_dbui/src/Dbui.js'
s = open(JSBASE, 'rb').read()
m = re.match("(.+ version: ')([\w._-]*)('.+)", s, re.DOTALL)
return m.group(2)
......
......@@ -34,11 +34,11 @@ following:
``double`` Ext.form.field.Number
``id`` Ext.form.field.Text
``integer`` Ext.form.field.Number
``json`` App.form.field.Dict
``list:string`` App.form.field.List
``json`` Dbui.form.field.Dict
``list:string`` Dbui.form.field.List
``list:integer`` Ext.form.field.TextArea
``password`` Ext.form.field.Text
``reference`` App.form.field.ComboBox
``reference`` Dbui.form.field.ComboBox
``string`` Ext.form.field.Text
``text`` Ext.form.field.TextArea
``time`` Ext.form.field.Time
......@@ -78,7 +78,7 @@ Fields can be hidden in form::
ComboBox
--------
The ComboBox is an instance of the ``App.form.field.ComboBox``
The ComboBox is an instance of the ``Dbui.form.field.ComboBox``
which derives from the base class ``Ext.form.field.ComboBox``.
The former embedded the logic to exchange data with the server.
......
......@@ -16,7 +16,7 @@ associated to each table, *e.g.* ``ui_people.py``.
Form configuration
-------------------
A form is an instance of the ``App.form.Panel`` class which derives from
A form is an instance of the ``Dbui.form.Panel`` class which derives from
the ``Ext.form.Panel``. The former mainly embedded the logic to exchange
date with the server. Its configuration parameters are those of the base
class.
......
......@@ -25,7 +25,7 @@ The recommend practice is to do it in the ``ui`` file associated to each table,
Grid configuration
------------------
The grid is an instance of the ``App.grid.Panel`` which derives from the
The grid is an instance of the ``Dbui.grid.Panel`` which derives from the
base class ``Ext.grid.Panel``. The former mainly embedded the logic to exchange
date with the server.
......
......@@ -84,7 +84,7 @@ The second part is more tricky and required a good knowledge of the
//
// instantiate the grid
//
grid = Ext.create('App.grid.Panel', {
grid = Ext.create('Dbui.grid.Panel', {
plugins: ['pGridExport'],
store: cfgStore,
columns: [
......
......@@ -28,7 +28,7 @@ The typical actions are:
Configure the viewport
----------------------
The viewport is an instance of the ``App.viewport.Viewport`` which derives from
The viewport is an instance of the ``Dbui.viewport.Viewport`` which derives from
the base class ``Ext.container.Viewport``. Its configuration parameters are
described in the `Ext JS API`_ documentation and can be customized in the python
model. The recommend practice is to do it in the file ``widgets_viewport.py``.
......@@ -184,7 +184,7 @@ the last step is create a leaf in the viewport to launch the action::
reportNode.add_child(T('lists'), listLeaf)
The python ``Selector`` and its associated ``App.panel.WithUrlSelector``
The python ``Selector`` and its associated ``Dbui.panel.WithUrlSelector``
widget are a very powerful tool which can be used to build reports or to perform
some actions on the database. It has several interesting keyword parameters
described in the plugin_dbui API.
......
......@@ -42,7 +42,7 @@ plugins = PluginManager('dbui',
vars=dict(debug="")),
dbui_css=['static/plugin_dbui/resources/css/kde-oxygen.css',
'static/plugin_dbui/resources/css/dbui.css'],
dbui_debug='static/plugin_dbui/src/App.js',
dbui_debug='static/plugin_dbui/src/Dbui.js',
dbui_lg='static/plugin_dbui/locale/dbui-lang-%s.js' % lg,
dbui_libmin='static/plugin_dbui/dbui-min.js',
dbui_script='static/plugin_dbui/main.js',
......
......@@ -3,30 +3,30 @@
*
*/
Ext.define('App.local.fr.container.plugin.Login', {
override: 'App.container.plugin.Login',
Ext.define('Dbui.local.fr.container.plugin.Login', {
override: 'Dbui.container.plugin.Login',
textChangePwd : 'Changer votre mot de passe',
textLogin : "S'identifier",
textLogout : "Quitter l'application"
});
Ext.define('App.local.fr.form.field.ComboBox', {
override: 'App.form.field.ComboBox',
Ext.define('Dbui.local.fr.form.field.ComboBox', {
override: 'Dbui.form.field.ComboBox',
textSelect: 'Sélectioner un(e) '
});
Ext.define('App.local.fr.form.field.ComboBoxMaster', {
override: 'App.form.field.ComboBoxMaster',
Ext.define('Dbui.local.fr.form.field.ComboBoxMaster', {
override: 'Dbui.form.field.ComboBoxMaster',
textSelect: 'Sélectioner un(e) '
});
Ext.define('App.local.fr.form.field.ComboBoxSlave', {
override: 'App.form.field.ComboBoxSlave',
Ext.define('Dbui.local.fr.form.field.ComboBoxSlave', {
override: 'Dbui.form.field.ComboBoxSlave',
textSelect: 'Sélectioner un(e) '
});
Ext.define('App.local.fr.form.field.Dict', {
override: 'App.form.field.Dict',
Ext.define('Dbui.local.fr.form.field.Dict', {
override: 'Dbui.form.field.Dict',
textAddMenu : 'Ajouter',
textAddTitle : 'Entrez le nom de la clé',
textDestroyMenu : 'Détruire',
......@@ -37,8 +37,8 @@ Ext.define('App.local.fr.form.field.Dict', {
textUpdateTitle : 'Modifier la clé'
});
Ext.define('App.local.fr.form.field.List', {
override: 'App.form.field.List',
Ext.define('Dbui.local.fr.form.field.List', {
override: 'Dbui.form.field.List',
textAdd : 'Ajouter un élément',
textDestroy : 'Détruire cet élément',
textDestroytitle : 'Détruire ...',
......@@ -47,8 +47,8 @@ Ext.define('App.local.fr.form.field.List', {
textGoUp : 'Déplacer vers le haut'
});
Ext.define('App.local.fr.form.Panel', {
override: 'App.form.Panel',
Ext.define('Dbui.local.fr.form.Panel', {
override: 'Dbui.form.Panel',
textCreate : 'Créer',
textDestroy : 'Détruire',
textDuplicate : 'Dupliquer',
......@@ -66,42 +66,42 @@ Ext.define('App.local.fr.form.Panel', {
textUpdateFailed : 'La mise à jour a échoué...'
});
Ext.define('App.local.fr.grid.button.ExpertMenu', {
override: 'App.grid.button.ExpertMenu',
Ext.define('Dbui.local.fr.grid.button.ExpertMenu', {
override: 'Dbui.grid.button.ExpertMenu',
textExport : 'Exporter dans un fichier CSV',
textMathJax : 'Interpréter les équations',
textReset : 'Reset'
});
Ext.define('App.local.fr.grid.plugin.Export', {
override: 'App.grid.plugin.Export',
Ext.define('Dbui.local.fr.grid.plugin.Export', {
override: 'Dbui.grid.plugin.Export',
textToCSV : 'Exporter en CSV...',
textToLaTeX : 'Exporter en LaTeX...',
textToPDF : 'Exporter en PDF...'
});
Ext.define('App.local.fr.grid.plugin.Paging', {
override: 'App.grid.plugin.Paging',
Ext.define('Dbui.local.fr.grid.plugin.Paging', {
override: 'Dbui.grid.plugin.Paging',
textPlus : 'Plus',
textSlider : 'Entrées par page'
});
Ext.define('App.local.fr.grid.plugin.Toolbar', {
override: 'App.grid.plugin.Toolbar',
Ext.define('Dbui.local.fr.grid.plugin.Toolbar', {
override: 'Dbui.grid.plugin.Toolbar',
textEntries : 'Entrées',
textPlus : 'Plus'
});
Ext.define('App.local.fr.grid.plugin.RowEditorAddWizard', {
override: 'App.grid.plugin.RowEditorAddWizard',
Ext.define('Dbui.local.fr.grid.plugin.RowEditorAddWizard', {
override: 'Dbui.grid.plugin.RowEditorAddWizard',
textExpert: 'mode expert',
textSimplify: 'mode simplifié',
textTitle: 'Assistant...'
});
Ext.define('App.local.fr.grid.plugin.RowEditorBase', {
override: 'App.grid.plugin.RowEditorBase',
Ext.define('Dbui.local.fr.grid.plugin.RowEditorBase', {
override: 'Dbui.grid.plugin.RowEditorBase',
addTitle : "Créer un enregistrement...",
deleteTitle : "Détruire un enregistrement...",
duplicateTitle : "Dupliquer un enregistrement..",
......@@ -110,13 +110,13 @@ Ext.define('App.local.fr.grid.plugin.RowEditorBase', {
textMsg : 'Sélectioner un enregistrement !'
});
Ext.define('App.local.fr.grid.plugin.RowEditorConfirmDelete', {
override: 'App.grid.plugin.RowEditorConfirmDelete',
Ext.define('Dbui.local.fr.grid.plugin.RowEditorConfirmDelete', {
override: 'Dbui.grid.plugin.RowEditorConfirmDelete',
confirmMsg: 'Voulez-vous vraiment détruire cet élément ?'
});
Ext.define('App.local.fr.grid.plugin.RowEditorContextMenu', {
override: 'App.grid.plugin.RowEditorContextMenu',
Ext.define('Dbui.local.fr.grid.plugin.RowEditorContextMenu', {
override: 'Dbui.grid.plugin.RowEditorContextMenu',
textAdd : 'Ajouter',
textCreate : 'Créer',
textDestroy : 'Détruire',
......@@ -125,44 +125,44 @@ Ext.define('App.local.fr.grid.plugin.RowEditorContextMenu', {
textView : 'Voir'
});
Ext.define('App.local.fr.grid.property.Preferences', {
override: 'App.grid.property.Preferences',
Ext.define('Dbui.local.fr.grid.property.Preferences', {
override: 'Dbui.grid.property.Preferences',
textDefinition: 'Définition',
textReset : 'Annuler',
textUpdate : 'Actualiser'
});
Ext.define('App.local.fr.panel.BaseWithSelector', {
override: 'App.panel.BaseWithSelector',
Ext.define('Dbui.local.fr.panel.BaseWithSelector', {
override: 'Dbui.panel.BaseWithSelector',
textGo : 'Go',
textReset : 'Annuler'
});
Ext.define('App.local.fr.panel.GridWithFilter', {
override: 'App.panel.GridWithFilter',
Ext.define('Dbui.local.fr.panel.GridWithFilter', {
override: 'Dbui.panel.GridWithFilter',
textLoad: 'chargement en cours...'
});
Ext.define('App.local.fr.panel.plugin.LoaderException', {
override: 'App.panel.plugin.LoaderException',
Ext.define('Dbui.local.fr.panel.plugin.LoaderException', {
override: 'Dbui.panel.plugin.LoaderException',
textError: 'Erreur ...'
});
Ext.define('App.local.fr.panel.WithUrlSelector', {
override: 'App.panel.WithUrlSelector',
Ext.define('Dbui.local.fr.panel.WithUrlSelector', {
override: 'Dbui.panel.WithUrlSelector',
textChrome: "La taille du fichier est trôp grande pour Chrome.<br> Une solution est d'utilisée FireFox!",
textLoad : 'Chargement en cours...',
textProgressBar : 'Fichier en préparation. Soyez patient ...',
textWarning: 'Attention'
});
Ext.define('App.local.fr.plugin.MathJax', {
override: 'App.plugin.MathJax',
Ext.define('Dbui.local.fr.plugin.MathJax', {
override: 'Dbui.plugin.MathJax',
textMask: 'Interprétation des équations ...'
});
Ext.define('App.local.fr.wizard.Wizard', {
override: 'App.wizard.Wizard',
Ext.define('Dbui.local.fr.wizard.Wizard', {
override: 'Dbui.wizard.Wizard',
textAttention: "Attention",
textClose: [
"<p>L'assistant va être fermé.<br>",
......
......@@ -6,12 +6,12 @@
*/
// Activate the dynamic loading for Ext JS and application classes
App.setDynamicLoading(App.debug);
Dbui.setDynamicLoading(Dbui.debug);
// classes required by the script
Ext.require('Ext.form.Panel');
Ext.require('Ext.tip.QuickTipManager');
Ext.require('App.form.field.AceEditor');
Ext.require('Dbui.form.field.AceEditor');
Ext.onReady(function(){
......
......@@ -6,14 +6,14 @@
*/
// Activate the dynamic loading for Ext JS and application classes
App.setDynamicLoading(App.debug);
Dbui.setDynamicLoading(Dbui.debug);
// classes required by the script
Ext.require('Ext.form.Panel');
Ext.require('Ext.direct.Manager');
Ext.require('Ext.direct.RemotingProvider');
Ext.require('Ext.tip.QuickTipManager');
Ext.require('App.form.field.ComboBox');
Ext.require('Dbui.form.field.ComboBox');
Ext.onReady(function(){
......@@ -22,8 +22,8 @@ Ext.onReady(function(){
var form;
Ext.QuickTips.init();
Ext.direct.Manager.addProvider(App.REMOTE_API);
App.defineModels();
Ext.direct.Manager.addProvider(Dbui.REMOTE_API);
Dbui.defineModels();
form = Ext.create('Ext.form.Panel', {
title: 'ComboBox',
......
......@@ -14,7 +14,7 @@ var main = function(){
// console.dir(this);
var combo = new App.form.ComboBox({
var combo = new Dbui.form.ComboBox({
displayField: "CollaborationsCollaboration",
valueField: "CollaborationsId",
fieldLabel: "Collaborations",
......@@ -23,7 +23,7 @@ var main = function(){
table: "collaborations",
// encodeTableField: true,
dbFields: [
["collaborations", "collaboration"],
["collaborations", "collaboration"],
["collaborations", "id"]],
fields: ["CollaborationsCollaboration", "CollaborationsId"],
debug: true,
......@@ -34,7 +34,7 @@ var main = function(){
combo.on("select", function(){
console.log(this.getValue());
});
form = new Ext.FormPanel({
renderTo: "appmain",
bodyStyle: 'padding:5px 5px 0',
......@@ -45,7 +45,7 @@ var main = function(){
labelWidth: 75,
items: [combo],
});
// to select a value the store has to be loaded
// combo.setValue(2);
};
......
......@@ -6,12 +6,12 @@
*/
// Activate the dynamic loading for Ext JS and application classes
App.setDynamicLoading(App.debug);
Dbui.setDynamicLoading(Dbui.debug);
// classes required by the script
Ext.require('Ext.form.Panel');
Ext.require('Ext.tip.QuickTipManager');
Ext.require('App.form.field.Dict');
Ext.require('Dbui.form.field.Dict');
Ext.onReady(function(){
......
......@@ -6,15 +6,15 @@
*/
// Activate the dynamic loading for Ext JS and application classes
App.setDynamicLoading(App.debug);
Dbui.setDynamicLoading(Dbui.debug);
// classes required by the script
Ext.require('Ext.form.Panel');
Ext.require('Ext.direct.Manager');
Ext.require('Ext.direct.RemotingProvider');
Ext.require('Ext.tip.QuickTipManager');
Ext.require('App.form.field.ComboBox');
Ext.require('App.form.field.DictMultiDefault');
Ext.require('Dbui.form.field.ComboBox');
Ext.require('Dbui.form.field.DictMultiDefault');
Ext.onReady(function(){
......@@ -23,8 +23,8 @@ Ext.onReady(function(){
var form;
Ext.QuickTips.init();
Ext.direct.Manager.addProvider(App.REMOTE_API);
App.defineModels();
Ext.direct.Manager.addProvider(Dbui.REMOTE_API);
Dbui.defineModels();
form = Ext.create('Ext.form.Panel', {
title: 'DictMultiDefault',
......
......@@ -6,7 +6,7 @@
*/
// Activate the dynamic loading for Ext JS and application classes
App.setDynamicLoading(App.debug);
Dbui.setDynamicLoading(Dbui.debug);
// local functions
decodeResponse = function (provider, response) {
......@@ -38,9 +38,9 @@ Ext.onReady(function(){
Ext.QuickTips.init();
console.log("Remote API");
console.dir(App.REMOTE_API);
console.dir(Dbui.REMOTE_API);
Ext.direct.Manager.addProvider(App.REMOTE_API);
Ext.direct.Manager.addProvider(Dbui.REMOTE_API);
console.log("start direct_1");
......
......@@ -16,8 +16,8 @@ var main = function(provider, response){
console.log("Model items");
console.dir(model.items);
// create the form
var form = new App.form.FormPanel({
// create the form
var form = new Dbui.form.FormPanel({
items: model.items,
width: 400,
});
......@@ -27,16 +27,16 @@ var main = function(provider, response){
var r = this.getFieldValues();
console.log("Values in form");
console.dir(r);
}, form.getForm());
}, form.getForm());
form.render('appmain');
// create a store mimicking rpm table
// create a store mimicking rpm table
var myData = [
[1, 2, 3, 'add', 'foo'],
[2, 5, 2, 'del', 'faa'],
];
var store = new Ext.data.ArrayStore({
fields: [
{name: 'id', type: 'int'},
......@@ -47,7 +47,7 @@ var main = function(provider, response){
});
store.loadData(myData);
//load a row in the form
form.getForm().loadRecord(store.getAt(1));
form.showButtonUpdate();
......@@ -59,7 +59,7 @@ Ext.onReady(function(){
Ext.QuickTips.init();
// Expose the remote service cfgSvc
Ext.Direct.addProvider(App.cfgSvcMethods);
Ext.Direct.addProvider(Dbui.cfgSvcMethods);
// Request form models from the server
cfgSvc.getFormModel('rpms', main)
......
/**
* form_2.js
*
*
* Script to test the entryFormPanel
*
*/
Ext.namespace('App.test');
Ext.namespace('Dbui.test');
/**
......@@ -19,8 +19,8 @@ var main = function(provider, response){
console.log("Configuration");
console.dir(cfg);
// instanciate the form
var form = new App.form.EntryFormPanel(cfg);
// instanciate the form
var form = new Dbui.form.EntryFormPanel(cfg);
// the viewport to hold the form
// using all space available in the browser
......@@ -29,7 +29,7 @@ var main = function(provider, response){
layout: 'fit',
items: [form]
});