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

Tentative to instantiate a form in the "check & validate" view.

The form is created, by we can not fill it with the appropriate data.
A possible solution is to work with a basic form in which the action
load and submit are properly defined. Here, crude approach might be
used. To be tested in the plugin_dbui area.
parent 189f9a11
......@@ -155,6 +155,35 @@
return 'Total';
function foo(view, record, item, index, event) {
var publicationId = record.get("id");
Dbui.getForm('publications', function (formCfg, provider) {
var formPanel,
formPanel = Ext.create('App.form.Panel', formCfg);
console.log( (record, id) {
return false;
window = Ext.create('Ext.window.Window', {
closeAction: 'destroy',
items: formPanel,
layout: 'fit',
modal: true,
plain: true
// instantiate the grids for the Stat
var gridStat = Ext.create('Ext.grid.Panel', {
title: trStatistics,
......@@ -192,7 +221,10 @@
forceFit: true,
padding: "10 40 20 30",
renderTo: 'grid-{{=divlogs}}'
renderTo: 'grid-{{=divlogs}}',
listeners: {
itemdblclick: foo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment