Worked on fixing issues related to ExtJs
This commit is contained in:
@@ -2322,9 +2322,9 @@ ProcessMapContext.prototype.ExtVariables = function()
|
|||||||
case 'form':
|
case 'form':
|
||||||
FormSelected = workflow.formSelected;
|
FormSelected = workflow.formSelected;
|
||||||
rowSelected = this.getSelectionModel().getSelected();
|
rowSelected = this.getSelectionModel().getSelected();
|
||||||
FieldSelected = workflow.fieldId;
|
FieldSelected = workflow.fieldName;
|
||||||
rowLabel = rowSelected.data.variable;
|
rowLabel = rowSelected.data.variable;
|
||||||
Ext.getCmp(FieldSelected).setValue(rowLabel);
|
var value = FormSelected.getForm().findField(FieldSelected).setValue(rowLabel);
|
||||||
window.hide();
|
window.hide();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2395,9 +2395,9 @@ ProcessMapContext.prototype.ExtVariables = function()
|
|||||||
case 'form':
|
case 'form':
|
||||||
FormSelected = workflow.formSelected;
|
FormSelected = workflow.formSelected;
|
||||||
rowSelected = this.getSelectionModel().getSelected();
|
rowSelected = this.getSelectionModel().getSelected();
|
||||||
FieldSelected = workflow.fieldId;
|
FieldSelected = workflow.fieldName;
|
||||||
rowLabel = rowSelected.data.variable;
|
rowLabel = rowSelected.data.variable;
|
||||||
Ext.getCmp(FieldSelected).setValue(rowLabel);
|
var value = FormSelected.getForm().findField(FieldSelected).setValue(rowLabel);
|
||||||
window.hide();
|
window.hide();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2464,9 +2464,9 @@ ProcessMapContext.prototype.ExtVariables = function()
|
|||||||
case 'form':
|
case 'form':
|
||||||
FormSelected = workflow.formSelected;
|
FormSelected = workflow.formSelected;
|
||||||
rowSelected = this.getSelectionModel().getSelected();
|
rowSelected = this.getSelectionModel().getSelected();
|
||||||
FieldSelected = workflow.fieldId;
|
FieldSelected = workflow.fieldName;
|
||||||
rowLabel = rowSelected.data.variable;
|
rowLabel = rowSelected.data.variable;
|
||||||
Ext.getCmp(FieldSelected).setValue(rowLabel);
|
var value = FormSelected.getForm().findField(FieldSelected).setValue(rowLabel);
|
||||||
window.hide();
|
window.hide();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
{ name: 'DYN_UID', type: 'string'},
|
{ name: 'DYN_UID', type: 'string'},
|
||||||
{ name: 'DYN_TYPE', type: 'string'},
|
{ name: 'DYN_TYPE', type: 'string'},
|
||||||
{ name: 'DYN_TITLE', type: 'string'},
|
{ name: 'DYN_TITLE', type: 'string'},
|
||||||
{ name: 'DYN_DISCRIPTION',type: 'string'}
|
{ name: 'DYN_DISCRIPTION',type: 'string'},
|
||||||
|
{name: 'ACTION', type: 'string'}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
var editor = new Ext.ux.grid.RowEditor({
|
var editor = new Ext.ux.grid.RowEditor({
|
||||||
@@ -26,7 +27,8 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
var btnAdd = new Ext.Button({
|
var btnAdd = new Ext.Button({
|
||||||
id: 'btnAdd',
|
id: 'btnAdd',
|
||||||
text: 'New',
|
text: 'New',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_add',
|
||||||
|
//iconCls: 'application_add',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
dynaformDetails.getForm().reset();
|
dynaformDetails.getForm().reset();
|
||||||
formWindow.show();
|
formWindow.show();
|
||||||
@@ -36,7 +38,7 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
var btnRemove = new Ext.Button({
|
var btnRemove = new Ext.Button({
|
||||||
id: 'btnRemove',
|
id: 'btnRemove',
|
||||||
text: 'Delete',
|
text: 'Delete',
|
||||||
iconCls: 'application_delete',
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
var s = dynaformGrid.getSelectionModel().getSelections();
|
var s = dynaformGrid.getSelectionModel().getSelections();
|
||||||
@@ -172,6 +174,15 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
editor: new Ext.form.TextField({
|
editor: new Ext.form.TextField({
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
})
|
})
|
||||||
|
},{
|
||||||
|
id: 'ACTION',
|
||||||
|
header: 'Type',
|
||||||
|
dataIndex: 'ACTION',
|
||||||
|
width: 280,
|
||||||
|
editable: false,
|
||||||
|
editor: new Ext.form.TextField({
|
||||||
|
allowBlank: false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sortable: false,
|
sortable: false,
|
||||||
@@ -236,8 +247,9 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
|
|
||||||
var dynaformDetails = new Ext.FormPanel({
|
var dynaformDetails = new Ext.FormPanel({
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
|
buttonAlign: 'center',
|
||||||
bodyStyle :'padding:5px 5px 0',
|
bodyStyle :'padding:5px 5px 0',
|
||||||
width : 550,
|
width : 490,
|
||||||
monitorValid : true,
|
monitorValid : true,
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
items:
|
items:
|
||||||
@@ -246,12 +258,12 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
border:true,
|
border:true,
|
||||||
title: 'Please select the Dynaform Type',
|
title: 'Please select the Dynaform Type',
|
||||||
width: 550,
|
width: 500,
|
||||||
collapsible: false,
|
collapsible: false,
|
||||||
labelAlign: 'top',
|
labelAlign: 'top',
|
||||||
items:[{
|
items:[{
|
||||||
xtype: 'radiogroup',
|
xtype: 'radiogroup',
|
||||||
id: 'dynaformType',
|
//id: 'dynaformType',
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
fieldLabel: 'Type',
|
fieldLabel: 'Type',
|
||||||
itemCls: 'x-check-group-alt',
|
itemCls: 'x-check-group-alt',
|
||||||
@@ -273,13 +285,13 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
change: function(radiogroup, radio) {
|
change: function(radiogroup, radio) {
|
||||||
if(radio.inputValue == 'blankDyna')
|
if(radio.inputValue == 'blankDyna')
|
||||||
{
|
{
|
||||||
Ext.getCmp("blankDynaform").show();
|
Ext.get("blankDynaform").show();
|
||||||
Ext.getCmp("pmTableDynaform").hide();
|
Ext.get("pmTableDynaform").hide();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Ext.getCmp("blankDynaform").hide();
|
Ext.get("blankDynaform").hide();
|
||||||
Ext.getCmp("pmTableDynaform").show();
|
Ext.get("pmTableDynaform").show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -291,15 +303,17 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
border:true,
|
border:true,
|
||||||
hidden: false,
|
hidden: false,
|
||||||
title: 'Dynaform Information',
|
title: 'Dynaform Information',
|
||||||
width: 550,
|
width: 500,
|
||||||
items:[{
|
items:[{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
fieldLabel: 'Title',
|
fieldLabel: 'Title',
|
||||||
name : 'DYN_TITLE'
|
name : 'DYN_TITLE',
|
||||||
//allowBlank: false
|
width : 350,
|
||||||
|
allowBlank: false
|
||||||
},{
|
},{
|
||||||
width: 150,
|
width : 350,
|
||||||
xtype: 'combo',
|
xtype: 'combo',
|
||||||
|
allowBlank: false,
|
||||||
mode: 'local',
|
mode: 'local',
|
||||||
editable: false,
|
editable: false,
|
||||||
fieldLabel: 'Type',
|
fieldLabel: 'Type',
|
||||||
@@ -330,7 +344,7 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
border:true,
|
border:true,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
title: 'Dynaform Information',
|
title: 'Dynaform Information',
|
||||||
width: 550,
|
width: 500,
|
||||||
items:[{
|
items:[{
|
||||||
width: 150,
|
width: 150,
|
||||||
xtype: 'combo',
|
xtype: 'combo',
|
||||||
@@ -456,7 +470,7 @@ ProcessOptions.prototype.addDynaform= function(_5625)
|
|||||||
maximizable: true,
|
maximizable: true,
|
||||||
width: 600,
|
width: 600,
|
||||||
//autoHeight: true,
|
//autoHeight: true,
|
||||||
height: 450,
|
height: 420,
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
plain: true,
|
plain: true,
|
||||||
bodyStyle: 'padding:5px;',
|
bodyStyle: 'padding:5px;',
|
||||||
@@ -512,7 +526,7 @@ ProcessOptions.prototype.dbConnection = function()
|
|||||||
var btnEdit = new Ext.Button({
|
var btnEdit = new Ext.Button({
|
||||||
id: 'btnEdit',
|
id: 'btnEdit',
|
||||||
text: 'Edit',
|
text: 'Edit',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
var s = dbGrid.getSelectionModel().getSelections();
|
var s = dbGrid.getSelectionModel().getSelections();
|
||||||
var dbConnUID = s[0].data.DBS_UID;
|
var dbConnUID = s[0].data.DBS_UID;
|
||||||
@@ -535,7 +549,7 @@ ProcessOptions.prototype.dbConnection = function()
|
|||||||
var btnRemove = new Ext.Button({
|
var btnRemove = new Ext.Button({
|
||||||
id: 'btnRemove',
|
id: 'btnRemove',
|
||||||
text: 'Remove',
|
text: 'Remove',
|
||||||
iconCls: 'application_delete',
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
var s = dbGrid.getSelectionModel().getSelections();
|
var s = dbGrid.getSelectionModel().getSelections();
|
||||||
@@ -706,6 +720,7 @@ ProcessOptions.prototype.dbConnection = function()
|
|||||||
},{
|
},{
|
||||||
xtype: 'fieldset',
|
xtype: 'fieldset',
|
||||||
id: 'encode',
|
id: 'encode',
|
||||||
|
|
||||||
border:false,
|
border:false,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
items: [{
|
items: [{
|
||||||
@@ -1080,6 +1095,12 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
{
|
{
|
||||||
name: 'INP_DOC_DESCRIPTION',
|
name: 'INP_DOC_DESCRIPTION',
|
||||||
type: 'string'
|
type: 'string'
|
||||||
|
},{
|
||||||
|
name: 'INP_DOC_VERSIONING',
|
||||||
|
type: 'string'
|
||||||
|
},{
|
||||||
|
name: 'INP_DOC_DESTINATION_PATH',
|
||||||
|
type: 'string'
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -1102,7 +1123,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
var btnRemove = new Ext.Button({
|
var btnRemove = new Ext.Button({
|
||||||
id: 'btnRemove',
|
id: 'btnRemove',
|
||||||
text: 'Delete',
|
text: 'Delete',
|
||||||
iconCls: 'application_delete',
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
var s = inputDocGrid.getSelectionModel().getSelections();
|
var s = inputDocGrid.getSelectionModel().getSelections();
|
||||||
@@ -1157,7 +1178,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
var btnAdd = new Ext.Button({
|
var btnAdd = new Ext.Button({
|
||||||
id: 'btnAdd',
|
id: 'btnAdd',
|
||||||
text: 'New',
|
text: 'New',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_add',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
newIOWindow.show();
|
newIOWindow.show();
|
||||||
inputDocForm.getForm().reset();
|
inputDocForm.getForm().reset();
|
||||||
@@ -1168,7 +1189,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
var btnEdit = new Ext.Button({
|
var btnEdit = new Ext.Button({
|
||||||
id: 'btnEdit',
|
id: 'btnEdit',
|
||||||
text: 'Edit',
|
text: 'Edit',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
var selectedRow = inputDocGrid.getSelectionModel().getSelections();
|
var selectedRow = inputDocGrid.getSelectionModel().getSelections();
|
||||||
var inputDocUID = selectedRow[0].data.INP_DOC_UID;
|
var inputDocUID = selectedRow[0].data.INP_DOC_UID;
|
||||||
@@ -1203,15 +1224,17 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
border:true,
|
border:true,
|
||||||
title: 'Input Document Information',
|
title: 'Input Document Information',
|
||||||
width: 500,
|
width: 500,
|
||||||
|
//height:500,
|
||||||
collapsible: false,
|
collapsible: false,
|
||||||
labelAlign: '',
|
labelAlign: '',
|
||||||
items:[{
|
items:[{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
fieldLabel: 'Title',
|
fieldLabel: 'Title',
|
||||||
|
width : 200,
|
||||||
name : 'INP_DOC_TITLE',
|
name : 'INP_DOC_TITLE',
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
},{
|
},{
|
||||||
width: 150,
|
width : 200,
|
||||||
xtype: 'combo',
|
xtype: 'combo',
|
||||||
mode: 'local',
|
mode: 'local',
|
||||||
editable: false,
|
editable: false,
|
||||||
@@ -1244,6 +1267,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
layout: 'form',
|
layout: 'form',
|
||||||
id:'formType',
|
id:'formType',
|
||||||
border: false,
|
border: false,
|
||||||
|
width : 300,
|
||||||
hidden:true,
|
hidden:true,
|
||||||
labelAlign: '',
|
labelAlign: '',
|
||||||
items:[{
|
items:[{
|
||||||
@@ -1262,9 +1286,9 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
store: new Ext.data.JsonStore({
|
store: new Ext.data.JsonStore({
|
||||||
fields : ['name', 'value'],
|
fields : ['name', 'value'],
|
||||||
data : [
|
data : [
|
||||||
{name : 'ORIGINAL', value: 'ORIGINAL'},
|
{name : 'original', value: 'ORIGINAL'},
|
||||||
{name : 'LEGAL COPY', value: 'COPYLEGAL'},
|
{name : 'legal copy', value: 'COPYLEGAL'},
|
||||||
{name : 'COPY', value: 'COPY'}
|
{name : 'copy', value: 'COPY'}
|
||||||
]})
|
]})
|
||||||
}]
|
}]
|
||||||
},{
|
},{
|
||||||
@@ -1272,9 +1296,9 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
fieldLabel: 'Description',
|
fieldLabel: 'Description',
|
||||||
name : 'INP_DOC_DESCRIPTION',
|
name : 'INP_DOC_DESCRIPTION',
|
||||||
height : 120,
|
height : 120,
|
||||||
width : 350
|
width : 300
|
||||||
},{
|
},{
|
||||||
width: 150,
|
width : 200,
|
||||||
xtype: 'combo',
|
xtype: 'combo',
|
||||||
mode: 'local',
|
mode: 'local',
|
||||||
editable: false,
|
editable: false,
|
||||||
@@ -1295,28 +1319,30 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
layout :'column',
|
layout :'column',
|
||||||
border :false,
|
border :false,
|
||||||
items :[{
|
items :[{
|
||||||
columnWidth :.6,
|
//columnWidth :.6,
|
||||||
layout : 'form',
|
layout : 'form',
|
||||||
border :false,
|
border :false,
|
||||||
items : [{
|
items : [{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
id : 'DestPath',
|
width : 200,
|
||||||
|
//id : 'DestPath',
|
||||||
fieldLabel : 'Destination Path',
|
fieldLabel : 'Destination Path',
|
||||||
name : 'INP_DOC_DESTINATION_PATH',
|
name : 'INP_DOC_DESTINATION_PATH',
|
||||||
anchor :'100%'
|
anchor :'100%'
|
||||||
}]
|
}]
|
||||||
},{
|
},{
|
||||||
columnWidth :.4,
|
//columnWidth :.4,
|
||||||
layout : 'form',
|
layout : 'form',
|
||||||
border :false,
|
border :false,
|
||||||
items : [{
|
items : [{
|
||||||
xtype :'button',
|
xtype :'button',
|
||||||
title : ' ',
|
title : ' ',
|
||||||
|
width:50,
|
||||||
text : '@@',
|
text : '@@',
|
||||||
name : 'selectorigin',
|
name : 'selectorigin',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
workflow.variablesAction = 'form';
|
workflow.variablesAction = 'form';
|
||||||
workflow.fieldId = 'DestPath' ;
|
workflow.fieldName = 'INP_DOC_DESTINATION_PATH' ;
|
||||||
workflow.variable = '@@',
|
workflow.variable = '@@',
|
||||||
workflow.formSelected = inputDocForm;
|
workflow.formSelected = inputDocForm;
|
||||||
var rowData = ProcMapObj.ExtVariables();
|
var rowData = ProcMapObj.ExtVariables();
|
||||||
@@ -1327,12 +1353,13 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
layout :'column',
|
layout :'column',
|
||||||
border :false,
|
border :false,
|
||||||
items :[{
|
items :[{
|
||||||
columnWidth :.6,
|
//columnWidth :.6,
|
||||||
layout : 'form',
|
layout : 'form',
|
||||||
border :false,
|
border :false,
|
||||||
items : [{
|
items : [{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
id :'tags',
|
width : 200,
|
||||||
|
//id :'tags',
|
||||||
fieldLabel : 'Tags',
|
fieldLabel : 'Tags',
|
||||||
name : 'INP_DOC_TAGS',
|
name : 'INP_DOC_TAGS',
|
||||||
anchor :'100%'
|
anchor :'100%'
|
||||||
@@ -1344,11 +1371,12 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
items : [{
|
items : [{
|
||||||
xtype :'button',
|
xtype :'button',
|
||||||
title : ' ',
|
title : ' ',
|
||||||
|
width:50,
|
||||||
text : '@@',
|
text : '@@',
|
||||||
name : 'selectorigin',
|
name : 'selectorigin',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
workflow.variablesAction = 'form';
|
workflow.variablesAction = 'form';
|
||||||
workflow.fieldId = 'tags' ;
|
workflow.fieldName = 'INP_DOC_TAGS' ;
|
||||||
workflow.variable = '@@',
|
workflow.variable = '@@',
|
||||||
workflow.formSelected = inputDocForm;
|
workflow.formSelected = inputDocForm;
|
||||||
var rowData = ProcMapObj.ExtVariables();
|
var rowData = ProcMapObj.ExtVariables();
|
||||||
@@ -1373,7 +1401,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
if(sOrig == "")
|
if(sOrig == "")
|
||||||
sOrig = 'ORIGINAL';
|
sOrig = 'ORIGINAL';
|
||||||
|
|
||||||
if(sOrig == 'LEGAL COPY')
|
if(sOrig == 'legal copy')
|
||||||
sOrig = 'COPYLEGAL';
|
sOrig = 'COPYLEGAL';
|
||||||
|
|
||||||
if(sFormNeeded == 'Digital')
|
if(sFormNeeded == 'Digital')
|
||||||
@@ -1481,14 +1509,32 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
editor: new Ext.form.TextField({
|
editor: new Ext.form.TextField({
|
||||||
//allowBlank: false
|
//allowBlank: false
|
||||||
})
|
})
|
||||||
|
},{
|
||||||
|
id: 'INP_DOC_VERSIONING',
|
||||||
|
header: 'Versioning',
|
||||||
|
dataIndex: 'INP_DOC_VERSIONING',
|
||||||
|
width: 280,
|
||||||
|
editable: false,
|
||||||
|
editor: new Ext.form.TextField({
|
||||||
|
//allowBlank: false
|
||||||
|
})
|
||||||
|
},{
|
||||||
|
id: 'INP_DOC_DESTINATION_PATH',
|
||||||
|
header: 'Destination Path',
|
||||||
|
dataIndex: 'INP_DOC_DESTINATION_PATH',
|
||||||
|
width: 280,
|
||||||
|
editable: false,
|
||||||
|
editor: new Ext.form.TextField({
|
||||||
|
//allowBlank: false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
{
|
/*{
|
||||||
sortable: false,
|
sortable: false,
|
||||||
renderer: function(val, meta, record)
|
renderer: function(val, meta, record)
|
||||||
{
|
{
|
||||||
return String.format("<a href='../dynaforms/dynaforms_Editor?PRO_UID={0}&DYN_UID={1}'>Edit</a>",pro_uid,pro_uid);
|
return String.format("<a href='../dynaforms/dynaforms_Editor?PRO_UID={0}&DYN_UID={1}'>Edit</a>",pro_uid,pro_uid);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -1519,7 +1565,7 @@ ProcessOptions.prototype.addInputDoc= function(_5625)
|
|||||||
var gridWindow = new Ext.Window({
|
var gridWindow = new Ext.Window({
|
||||||
title: 'Input Document',
|
title: 'Input Document',
|
||||||
width: 550,
|
width: 550,
|
||||||
height: 450,
|
height: 420,
|
||||||
minWidth: 200,
|
minWidth: 200,
|
||||||
minHeight: 150,
|
minHeight: 150,
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
@@ -1592,7 +1638,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
var btnRemove = new Ext.Button({
|
var btnRemove = new Ext.Button({
|
||||||
id: 'btnRemove',
|
id: 'btnRemove',
|
||||||
text: 'Delete',
|
text: 'Delete',
|
||||||
iconCls: 'application_delete',
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
var s = outputDocGrid.getSelectionModel().getSelections();
|
var s = outputDocGrid.getSelectionModel().getSelections();
|
||||||
@@ -1629,7 +1675,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
var btnAdd = new Ext.Button({
|
var btnAdd = new Ext.Button({
|
||||||
id: 'btnAdd',
|
id: 'btnAdd',
|
||||||
text: 'New',
|
text: 'New',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_add',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
outputDocForm.getForm().reset();
|
outputDocForm.getForm().reset();
|
||||||
newOPWindow.show();
|
newOPWindow.show();
|
||||||
@@ -1639,7 +1685,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
var btnEdit = new Ext.Button({
|
var btnEdit = new Ext.Button({
|
||||||
id: 'btnEdit',
|
id: 'btnEdit',
|
||||||
text: 'Edit',
|
text: 'Edit',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
var s = outputDocGrid.getSelectionModel().getSelections();
|
var s = outputDocGrid.getSelectionModel().getSelections();
|
||||||
var outputDocUID = s[0].data.OUT_DOC_UID;
|
var outputDocUID = s[0].data.OUT_DOC_UID;
|
||||||
@@ -1750,7 +1796,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
border:false,
|
border:false,
|
||||||
items: [{
|
items: [{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
id : 'filenameGenerated',
|
//id : 'filenameGenerated',
|
||||||
fieldLabel : 'Filename generated',
|
fieldLabel : 'Filename generated',
|
||||||
name : 'OUT_DOC_FILENAME',
|
name : 'OUT_DOC_FILENAME',
|
||||||
allowBlank : false,
|
allowBlank : false,
|
||||||
@@ -1768,7 +1814,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
name: 'selectorigin',
|
name: 'selectorigin',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
workflow.variablesAction = 'form';
|
workflow.variablesAction = 'form';
|
||||||
workflow.fieldId = 'filenameGenerated' ;
|
workflow.fieldName = 'OUT_DOC_FILENAME' ;
|
||||||
workflow.variable = '@@',
|
workflow.variable = '@@',
|
||||||
workflow.formSelected = outputDocForm;
|
workflow.formSelected = outputDocForm;
|
||||||
var rowData = ProcMapObj.ExtVariables();
|
var rowData = ProcMapObj.ExtVariables();
|
||||||
@@ -1896,7 +1942,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
border :false,
|
border :false,
|
||||||
items : [{
|
items : [{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
id : 'DestPath',
|
//id : 'DestPath',
|
||||||
fieldLabel : 'Destination Path',
|
fieldLabel : 'Destination Path',
|
||||||
name : 'OUT_DOC_DESTINATION_PATH',
|
name : 'OUT_DOC_DESTINATION_PATH',
|
||||||
anchor :'100%'
|
anchor :'100%'
|
||||||
@@ -1912,7 +1958,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
name : 'selectorigin',
|
name : 'selectorigin',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
workflow.variablesAction = 'form';
|
workflow.variablesAction = 'form';
|
||||||
workflow.fieldId = 'DestPath' ;
|
workflow.fieldName = 'OUT_DOC_DESTINATION_PATH' ;
|
||||||
workflow.variable = '@@',
|
workflow.variable = '@@',
|
||||||
workflow.formSelected = outputDocForm;
|
workflow.formSelected = outputDocForm;
|
||||||
var rowData = ProcMapObj.ExtVariables();
|
var rowData = ProcMapObj.ExtVariables();
|
||||||
@@ -1928,7 +1974,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
border :false,
|
border :false,
|
||||||
items : [{
|
items : [{
|
||||||
xtype : 'textfield',
|
xtype : 'textfield',
|
||||||
id :'tags',
|
//id :'tags',
|
||||||
fieldLabel : 'Tags',
|
fieldLabel : 'Tags',
|
||||||
name : 'OUT_DOC_TAGS',
|
name : 'OUT_DOC_TAGS',
|
||||||
anchor :'100%'
|
anchor :'100%'
|
||||||
@@ -1944,7 +1990,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
name : 'selectorigin',
|
name : 'selectorigin',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
workflow.variablesAction = 'form';
|
workflow.variablesAction = 'form';
|
||||||
workflow.fieldId = 'tags' ;
|
workflow.fieldName = 'OUT_DOC_TAGS' ;
|
||||||
workflow.variable = '@@',
|
workflow.variable = '@@',
|
||||||
workflow.formSelected = outputDocForm;
|
workflow.formSelected = outputDocForm;
|
||||||
var rowData = ProcMapObj.ExtVariables();
|
var rowData = ProcMapObj.ExtVariables();
|
||||||
@@ -2096,7 +2142,7 @@ ProcessOptions.prototype.addOutputDoc= function(_5625)
|
|||||||
maximizable : false,
|
maximizable : false,
|
||||||
width : 550,
|
width : 550,
|
||||||
defaults :{ autoScroll:true },
|
defaults :{ autoScroll:true },
|
||||||
height : 450,
|
height : 420,
|
||||||
minWidth : 200,
|
minWidth : 200,
|
||||||
minHeight : 150,
|
minHeight : 150,
|
||||||
layout : 'fit',
|
layout : 'fit',
|
||||||
@@ -2182,7 +2228,7 @@ ProcessOptions.prototype.addReportTable= function(_5625)
|
|||||||
var btnAdd = new Ext.Button({
|
var btnAdd = new Ext.Button({
|
||||||
id: 'btnAdd',
|
id: 'btnAdd',
|
||||||
text: 'New',
|
text: 'New',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_add',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
formWindow.show();
|
formWindow.show();
|
||||||
reportForm.getForm().reset();
|
reportForm.getForm().reset();
|
||||||
@@ -2192,7 +2238,7 @@ ProcessOptions.prototype.addReportTable= function(_5625)
|
|||||||
var btnEdit = new Ext.Button({
|
var btnEdit = new Ext.Button({
|
||||||
id: 'btnEdit',
|
id: 'btnEdit',
|
||||||
text: 'Edit',
|
text: 'Edit',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_pencil',
|
||||||
handler: function (s) {
|
handler: function (s) {
|
||||||
var s = reportGrid.getSelectionModel().getSelections();
|
var s = reportGrid.getSelectionModel().getSelections();
|
||||||
var repTabUID = s[0].data.REP_TAB_UID;
|
var repTabUID = s[0].data.REP_TAB_UID;
|
||||||
@@ -2216,7 +2262,7 @@ ProcessOptions.prototype.addReportTable= function(_5625)
|
|||||||
var btnRemove = new Ext.Button({
|
var btnRemove = new Ext.Button({
|
||||||
id: 'btnRemove',
|
id: 'btnRemove',
|
||||||
text: 'Delete',
|
text: 'Delete',
|
||||||
iconCls: 'application_add',
|
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
editor.stopEditing();
|
editor.stopEditing();
|
||||||
var s = reportGrid.getSelectionModel().getSelections();
|
var s = reportGrid.getSelectionModel().getSelections();
|
||||||
@@ -2299,12 +2345,14 @@ var reportForm =new Ext.FormPanel({
|
|||||||
items:[{
|
items:[{
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
fieldLabel: 'Title',
|
fieldLabel: 'Title',
|
||||||
|
width: 150,
|
||||||
name: 'REP_TAB_TITLE',
|
name: 'REP_TAB_TITLE',
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
},{
|
},{
|
||||||
|
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
fieldLabel: 'Table Name',
|
fieldLabel: 'Table Name',
|
||||||
|
width: 150,
|
||||||
name: 'REP_TAB_NAME',
|
name: 'REP_TAB_NAME',
|
||||||
allowBlank: false
|
allowBlank: false
|
||||||
},
|
},
|
||||||
@@ -2353,8 +2401,9 @@ var reportForm =new Ext.FormPanel({
|
|||||||
hidden: false,
|
hidden: false,
|
||||||
items: [{
|
items: [{
|
||||||
xtype: 'multiselect',
|
xtype: 'multiselect',
|
||||||
width: 200,
|
width: 150,
|
||||||
mode: 'local',
|
mode: 'local',
|
||||||
|
style : 'margin-bottom:10px',
|
||||||
editable:true,
|
editable:true,
|
||||||
fieldLabel: 'Fields',
|
fieldLabel: 'Fields',
|
||||||
triggerAction: 'all',
|
triggerAction: 'all',
|
||||||
@@ -2371,6 +2420,7 @@ var reportForm =new Ext.FormPanel({
|
|||||||
id: 'gridfields',
|
id: 'gridfields',
|
||||||
border:false,
|
border:false,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
|
align:'left',
|
||||||
items:[{
|
items:[{
|
||||||
xtype: 'combo',
|
xtype: 'combo',
|
||||||
width: 150,
|
width: 150,
|
||||||
|
|||||||
Reference in New Issue
Block a user