PDA

View Full Version : Grid Cell Editing : Change not getting reflected instead showing blank



rishisaraf11
23 Dec 2011, 2:34 AM
Hi Guys,

I am using cell editing plugin in my grid to edit cell however its not working. I am able to enter a new value in cell but as soon as I click somewhere screen value go and blank space appear in cell(even the existing value go). Attach is screen shot where I enter telephone number as 4234 however after loosing focus its gone. Please help.

30271

Code



var siteCheckBoxModel = Ext.create('Ext.selection.CheckboxModel', {
checkOnly: true,
listeners: {
selectionchange: function(model, records) {
if (records[0]) {
id = records[0].get('id');
}
}
}
});

var filters = {
ftype : 'filters',
// encode and local configuration options defined previously for easier reuse
encode : false, // json encode the filter query
local : true, // defaults to false (remote filtering)
filters : [{ type: 'string', dataIndex: 'siteName' },
{ type: 'string', dataIndex: 'address_country' },
{ type: 'string', dataIndex: 'address_city' },
{ type: 'string', dataIndex: 'product' },
{ type: 'string', dataIndex: 'address_telephoneAreaCode' },
{ type: 'string', dataIndex: 'managementType' }
]
};

Ext.define('SQE.view.panel.SiteInfo', {
extend: 'Ext.grid.Panel',
alias : 'widget.SiteInfo',
title : 'Site Information',
store: 'ConfigStore',
plugins:[Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 1,
listeners: {
edit: function() {
this.context.grid.getView().refresh();
}
}
})],
features: [filters],
selModel: siteCheckBoxModel,
columnLines: true,
requires : ['SQE.view.components.GridCellTextField'],
viewConfig: {
stripeRows: true
},
initComponent: function() {

this.columns = [
{
text: 'Site Name',
dataIndex: 'siteName'
},
{
text: 'Country',
dataIndex: 'address_country'
},
{
text: 'City',
dataIndex: 'address_city'
},
{
text: 'Post code',
dataIndex: 'address_postCode'
},
{
text: 'Building Number',
dataIndex: 'address_buildingNumber'
},
{
text: 'Address Line 1',
dataIndex: 'address_addressLine1'
},
{
text: 'State/Province',
dataIndex: 'address_stateOrProvince'
},
{
text: 'Product',
dataIndex: 'product'
},
{
text: 'Management Type',
dataIndex: 'managementType'
},
{
text: 'Kgi',
dataIndex: 'kgi'
},
{
text: 'Telephone Area code',
dataIndex: 'address_telephoneAreaCode',
editor : {xtype :'gridCellTextField'}
},
{
text: 'Telephone Number',
dataIndex: 'address_telephoneNumber',
editor : {xtype :'gridCellTextField'},
renderer: renderEditCssToGridCell
},
{
text: 'On Net Check',
renderer: function (val) {
return '<a href="http://www.google.com">' + 'On Net' + '</a>';
},

dataIndex: 'onNetCheck'
}
];

this.callParent(arguments);
}
});

skirtle
23 Dec 2011, 2:40 AM
Can we see SQE.view.components.GridCellTextField?

rishisaraf11
23 Dec 2011, 2:46 AM
Sure



Ext.define('SQE.view.components.GridCellTextField', {
extend : 'Ext.form.field.Text',
alias : 'widget.gridCellTextField',
mode: 'local',
typeAhead: true,
triggerAction: 'all',
lazyRender: false,
initComponent: function() {
this.callParent(arguments);
}
});

skirtle
23 Dec 2011, 2:52 AM
It's a bit odd, it has a load of ComboBox config options but isn't a ComboBox. That said, I see nothing harmful in there.

What about renderEditCssToGridCell? Does it work if you comment out that renderer? Does the 'Telephone Area code' editor work OK?

rishisaraf11
23 Dec 2011, 3:05 AM
Even after using a standard textfield component without renderer its not working.



{
text: 'Telephone Area code',
dataIndex: 'address_telephoneAreaCode',
field : {xtype :'textfield'}
}

skirtle
23 Dec 2011, 3:29 AM
OK, I wasn't clear.

There are two fields with editors. Can you confirm that neither of them is working correctly?

Try getting rid of this:


listeners: {
edit: function() {
this.context.grid.getView().refresh();
}
}

Do you see any errors in the console after editing?

Can you post the store/model?

rishisaraf11
23 Dec 2011, 3:48 AM
Skirtle neither of them working, I even removed the listener stills its not working. below are my store and model definition.

Model


Ext.define('SQE.model.ConfigModel',
{extend: 'Ext.data.Model',
fields:['error',
{ name:'address_country', mapping:'address',
convert: function(address, record) {
if (!Ext.isEmpty(address) && address.country) {
return address.country;
} else {
return null;
}
}
},{ name:'address_city', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.city) {
return address.city;
} else {
return null;
}
}},{ name:'address_postCode', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.postCode) {
return address.postCode;
} else {
return null;
}
}},{ name:'address_buildingNumber', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.buildingNumber) {
return address.buildingNumber;
} else {
return null;
}
}},{ name:'address_addressLine1', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.addressLine1) {
return address.addressLine1;
} else {
return null;
}
}},{ name:'address_stateOrProvince', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.stateOrProvince) {
return address.stateOrProvince;
} else {
return null;
}
}},{ name:'address_telephoneAreaCode', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.telephoneAreaCode) {
return address.telephoneAreaCode;
} else {
return null;
}
}},{ name:'address_telephoneNumber', mapping:'address', convert: function(address, record) {
if (!Ext.isEmpty(address) && address.telephoneNumber) {
return address.telephoneNumber;
} else {
return null;
}
}},'siteName','product',{ name:'managementType_value', mapping:'managementType', convert: function(managementType, record) {
if (!Ext.isEmpty(managementType) && managementType.value) {
return managementType.value;
} else {
return null;
}
}},{ name:'managementType_error', mapping:'managementType', convert: function(managementType, record) {
if (!Ext.isEmpty(managementType) && managementType.error) {
return managementType.error;
} else {
return null;
}
}},{ name:'managementType_valid', mapping:'managementType', convert: function(managementType, record) {
if (!Ext.isEmpty(managementType) && managementType.valid) {
return managementType.valid;
} else {
return null;
}
}},'kgi','onNetCheck',{ name:'resiliency_value', mapping:'resiliency', convert: function(resiliency, record) {
if (!Ext.isEmpty(resiliency) && resiliency.value) {
return resiliency.value;
} else {
return null;
}
}},{ name:'resiliency_error', mapping:'resiliency', convert: function(resiliency, record) {
if (!Ext.isEmpty(resiliency) && resiliency.error) {
return resiliency.error;
} else {
return null;
}
}},{ name:'resiliency_valid', mapping:'resiliency', convert: function(resiliency, record) {
if (!Ext.isEmpty(resiliency) && resiliency.valid) {
return resiliency.valid;
} else {
return null;
}
}},'accessBackupOption','wellKnownNonStandard','nonStandardBidItemBidRequest','nonStandardBidItemBidNumber','nonStandardBidItemBidStatus','nonStandardBidItemOneTimePrice','nonStandardBidItemMonthlyRecurringPrice',{ name:'accessConfigurationData_accessModel_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.accessModel && accessConfigurationData.accessModel.value) {
return accessConfigurationData.accessModel.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_accessModel_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.accessModel && accessConfigurationData.accessModel.error) {
return accessConfigurationData.accessModel.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_accessModel_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.accessModel && accessConfigurationData.accessModel.valid) {
return accessConfigurationData.accessModel.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_accessTerm', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.accessTerm) {
return accessConfigurationData.accessTerm;
} else {
return null;
}
}},{ name:'accessConfigurationData_sla2Plus', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.sla2Plus) {
return accessConfigurationData.sla2Plus;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_serviceVariant_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.serviceVariant && accessConfigurationData.primaryAccessParams.serviceVariant.value) {
return accessConfigurationData.primaryAccessParams.serviceVariant.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_serviceVariant_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.serviceVariant && accessConfigurationData.primaryAccessParams.serviceVariant.error) {
return accessConfigurationData.primaryAccessParams.serviceVariant.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_serviceVariant_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.serviceVariant && accessConfigurationData.primaryAccessParams.serviceVariant.valid) {
return accessConfigurationData.primaryAccessParams.serviceVariant.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessTechnology_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessTechnology && accessConfigurationData.primaryAccessParams.accessTechnology.value) {
return accessConfigurationData.primaryAccessParams.accessTechnology.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessTechnology_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessTechnology && accessConfigurationData.primaryAccessParams.accessTechnology.error) {
return accessConfigurationData.primaryAccessParams.accessTechnology.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessTechnology_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessTechnology && accessConfigurationData.primaryAccessParams.accessTechnology.valid) {
return accessConfigurationData.primaryAccessParams.accessTechnology.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessType_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessType && accessConfigurationData.primaryAccessParams.accessType.value) {
return accessConfigurationData.primaryAccessParams.accessType.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessType_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessType && accessConfigurationData.primaryAccessParams.accessType.error) {
return accessConfigurationData.primaryAccessParams.accessType.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessType_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessType && accessConfigurationData.primaryAccessParams.accessType.valid) {
return accessConfigurationData.primaryAccessParams.accessType.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_valueOfN', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.valueOfN) {
return accessConfigurationData.primaryAccessParams.valueOfN;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessSpeed_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessSpeed && accessConfigurationData.primaryAccessParams.accessSpeed.value) {
return accessConfigurationData.primaryAccessParams.accessSpeed.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessSpeed_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessSpeed && accessConfigurationData.primaryAccessParams.accessSpeed.error) {
return accessConfigurationData.primaryAccessParams.accessSpeed.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_primaryAccessParams_accessSpeed_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.primaryAccessParams && accessConfigurationData.primaryAccessParams.accessSpeed && accessConfigurationData.primaryAccessParams.accessSpeed.valid) {
return accessConfigurationData.primaryAccessParams.accessSpeed.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_serviceVariant_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.serviceVariant && accessConfigurationData.secondaryAccessParams.serviceVariant.value) {
return accessConfigurationData.secondaryAccessParams.serviceVariant.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_serviceVariant_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.serviceVariant && accessConfigurationData.secondaryAccessParams.serviceVariant.error) {
return accessConfigurationData.secondaryAccessParams.serviceVariant.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_serviceVariant_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.serviceVariant && accessConfigurationData.secondaryAccessParams.serviceVariant.valid) {
return accessConfigurationData.secondaryAccessParams.serviceVariant.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessTechnology_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessTechnology && accessConfigurationData.secondaryAccessParams.accessTechnology.value) {
return accessConfigurationData.secondaryAccessParams.accessTechnology.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessTechnology_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessTechnology && accessConfigurationData.secondaryAccessParams.accessTechnology.error) {
return accessConfigurationData.secondaryAccessParams.accessTechnology.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessTechnology_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessTechnology && accessConfigurationData.secondaryAccessParams.accessTechnology.valid) {
return accessConfigurationData.secondaryAccessParams.accessTechnology.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessType_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessType && accessConfigurationData.secondaryAccessParams.accessType.value) {
return accessConfigurationData.secondaryAccessParams.accessType.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessType_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessType && accessConfigurationData.secondaryAccessParams.accessType.error) {
return accessConfigurationData.secondaryAccessParams.accessType.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessType_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessType && accessConfigurationData.secondaryAccessParams.accessType.valid) {
return accessConfigurationData.secondaryAccessParams.accessType.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_valueOfN', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.valueOfN) {
return accessConfigurationData.secondaryAccessParams.valueOfN;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessSpeed_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessSpeed && accessConfigurationData.secondaryAccessParams.accessSpeed.value) {
return accessConfigurationData.secondaryAccessParams.accessSpeed.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessSpeed_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessSpeed && accessConfigurationData.secondaryAccessParams.accessSpeed.error) {
return accessConfigurationData.secondaryAccessParams.accessSpeed.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_secondaryAccessParams_accessSpeed_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.secondaryAccessParams && accessConfigurationData.secondaryAccessParams.accessSpeed && accessConfigurationData.secondaryAccessParams.accessSpeed.valid) {
return accessConfigurationData.secondaryAccessParams.accessSpeed.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslType_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslType && accessConfigurationData.dslConfiguration.dslType.value) {
return accessConfigurationData.dslConfiguration.dslType.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslType_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslType && accessConfigurationData.dslConfiguration.dslType.error) {
return accessConfigurationData.dslConfiguration.dslType.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslType_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslType && accessConfigurationData.dslConfiguration.dslType.valid) {
return accessConfigurationData.dslConfiguration.dslType.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslTypeFlag_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslTypeFlag && accessConfigurationData.dslConfiguration.dslTypeFlag.value) {
return accessConfigurationData.dslConfiguration.dslTypeFlag.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslTypeFlag_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslTypeFlag && accessConfigurationData.dslConfiguration.dslTypeFlag.error) {
return accessConfigurationData.dslConfiguration.dslTypeFlag.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslTypeFlag_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslTypeFlag && accessConfigurationData.dslConfiguration.dslTypeFlag.valid) {
return accessConfigurationData.dslConfiguration.dslTypeFlag.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_contentionRatio_value', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.contentionRatio && accessConfigurationData.dslConfiguration.contentionRatio.value) {
return accessConfigurationData.dslConfiguration.contentionRatio.value;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_contentionRatio_error', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.contentionRatio && accessConfigurationData.dslConfiguration.contentionRatio.error) {
return accessConfigurationData.dslConfiguration.contentionRatio.error;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_contentionRatio_valid', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.contentionRatio && accessConfigurationData.dslConfiguration.contentionRatio.valid) {
return accessConfigurationData.dslConfiguration.contentionRatio.valid;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_copperLineProviderByBT', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.copperLineProviderByBT) {
return accessConfigurationData.dslConfiguration.copperLineProviderByBT;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_localReferenceNumber', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.localReferenceNumber) {
return accessConfigurationData.dslConfiguration.localReferenceNumber;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_zipCode', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.zipCode) {
return accessConfigurationData.dslConfiguration.zipCode;
} else {
return null;
}
}},{ name:'accessConfigurationData_dslConfiguration_dslCheckRef', mapping:'accessConfigurationData', convert: function(accessConfigurationData, record) {
if (!Ext.isEmpty(accessConfigurationData) && accessConfigurationData.dslConfiguration && accessConfigurationData.dslConfiguration.dslCheckRef) {
return accessConfigurationData.dslConfiguration.dslCheckRef;
} else {
return null;
}
}},{ name:'accessPricingData_multisiteReqIdOrQrefId', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.multisiteReqIdOrQrefId) {
return accessPricingData.multisiteReqIdOrQrefId;
} else {
return null;
}
}},{ name:'accessPricingData_siteName', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.siteName) {
return accessPricingData.siteName;
} else {
return null;
}
}},{ name:'accessPricingData_requestStatus', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.requestStatus) {
return accessPricingData.requestStatus;
} else {
return null;
}
}},{ name:'accessPricingData_errorDescription', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.errorDescription) {
return accessPricingData.errorDescription;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessPricingDetail_pricingStatus', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessPricingDetail && accessPricingData.primaryAccessPricingDetail.pricingStatus) {
return accessPricingData.primaryAccessPricingDetail.pricingStatus;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessPricingDetail_accessOneTime', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessPricingDetail && accessPricingData.primaryAccessPricingDetail.accessOneTime) {
return accessPricingData.primaryAccessPricingDetail.accessOneTime;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessPricingDetail_accessMonthly', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessPricingDetail && accessPricingData.primaryAccessPricingDetail.accessMonthly) {
return accessPricingData.primaryAccessPricingDetail.accessMonthly;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessPricingDetail_pricingStatus', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessPricingDetail && accessPricingData.secondaryAccessPricingDetail.pricingStatus) {
return accessPricingData.secondaryAccessPricingDetail.pricingStatus;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessPricingDetail_accessOneTime', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessPricingDetail && accessPricingData.secondaryAccessPricingDetail.accessOneTime) {
return accessPricingData.secondaryAccessPricingDetail.accessOneTime;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessPricingDetail_accessMonthly', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessPricingDetail && accessPricingData.secondaryAccessPricingDetail.accessMonthly) {
return accessPricingData.secondaryAccessPricingDetail.accessMonthly;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_onetimeAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.onetimeAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.onetimeAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_yearOneAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.yearOneAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.yearOneAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_yearTwoAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.yearTwoAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.yearTwoAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_yearThreeAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.yearThreeAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.yearThreeAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_yearFourAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.yearFourAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.yearFourAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_primaryAccessOptimizationDetail_yearFiveAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.primaryAccessOptimizationDetail && accessPricingData.primaryAccessOptimizationDetail.yearFiveAccessEndUserPrice) {
return accessPricingData.primaryAccessOptimizationDetail.yearFiveAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_onetimeAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.onetimeAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.onetimeAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_yearOneAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.yearOneAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.yearOneAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_yearTwoAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.yearTwoAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.yearTwoAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_yearThreeAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.yearThreeAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.yearThreeAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_yearFourAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.yearFourAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.yearFourAccessEndUserPrice;
} else {
return null;
}
}},{ name:'accessPricingData_secondaryAccessOptimizationDetail_yearFiveAccessEndUserPrice', mapping:'accessPricingData', convert: function(accessPricingData, record) {
if (!Ext.isEmpty(accessPricingData) && accessPricingData.secondaryAccessOptimizationDetail && accessPricingData.secondaryAccessOptimizationDetail.yearFiveAccessEndUserPrice) {
return accessPricingData.secondaryAccessOptimizationDetail.yearFiveAccessEndUserPrice;
} else {
return null;
}
}},{ name:'portConfigurationData_portPricingType', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.portPricingType) {
return portConfigurationData.portPricingType;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_portSpeed_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.portSpeed && portConfigurationData.primaryPortConfigurationDetail.portSpeed.value) {
return portConfigurationData.primaryPortConfigurationDetail.portSpeed.value;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_portSpeed_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.portSpeed && portConfigurationData.primaryPortConfigurationDetail.portSpeed.error) {
return portConfigurationData.primaryPortConfigurationDetail.portSpeed.error;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_portSpeed_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.portSpeed && portConfigurationData.primaryPortConfigurationDetail.portSpeed.valid) {
return portConfigurationData.primaryPortConfigurationDetail.portSpeed.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_cosAssignment_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.cosAssignment && portConfigurationData.primaryPortConfigurationDetail.cosAssignment.value) {
return portConfigurationData.primaryPortConfigurationDetail.cosAssignment.value;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_cosAssignment_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.cosAssignment && portConfigurationData.primaryPortConfigurationDetail.cosAssignment.error) {
return portConfigurationData.primaryPortConfigurationDetail.cosAssignment.error;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_cosAssignment_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.cosAssignment && portConfigurationData.primaryPortConfigurationDetail.cosAssignment.valid) {
return portConfigurationData.primaryPortConfigurationDetail.cosAssignment.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_cosCustomizationLevel', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.cosCustomizationLevel) {
return portConfigurationData.primaryPortConfigurationDetail.cosCustomizationLevel;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_nonStandardPortFlag', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.nonStandardPortFlag) {
return portConfigurationData.primaryPortConfigurationDetail.nonStandardPortFlag;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_nonStandardPortSpeed', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.nonStandardPortSpeed) {
return portConfigurationData.primaryPortConfigurationDetail.nonStandardPortSpeed;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_af1', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.af1) {
return portConfigurationData.primaryPortConfigurationDetail.af1;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_af2', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.af2) {
return portConfigurationData.primaryPortConfigurationDetail.af2;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_af3', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.af3) {
return portConfigurationData.primaryPortConfigurationDetail.af3;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_af4', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.af4) {
return portConfigurationData.primaryPortConfigurationDetail.af4;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_de', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.de) {
return portConfigurationData.primaryPortConfigurationDetail.de;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_ef_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.ef && portConfigurationData.primaryPortConfigurationDetail.ef.value) {
return portConfigurationData.primaryPortConfigurationDetail.ef.value;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_ef_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.ef && portConfigurationData.primaryPortConfigurationDetail.ef.error) {
return portConfigurationData.primaryPortConfigurationDetail.ef.error;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_ef_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.ef && portConfigurationData.primaryPortConfigurationDetail.ef.valid) {
return portConfigurationData.primaryPortConfigurationDetail.ef.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_bgpPrefixRange', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.bgpPrefixRange) {
return portConfigurationData.primaryPortConfigurationDetail.bgpPrefixRange;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_afMultimediaFlag', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.afMultimediaFlag) {
return portConfigurationData.primaryPortConfigurationDetail.afMultimediaFlag;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_hvpnGpop_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.value) {
return portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.value;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_hvpnGpop_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.error) {
return portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.error;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_hvpnGpop_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop && portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.valid) {
return portConfigurationData.primaryPortConfigurationDetail.hvpnGpop.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_totalNumberOfVPNs', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.totalNumberOfVPNs) {
return portConfigurationData.primaryPortConfigurationDetail.totalNumberOfVPNs;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_nonStandardPortSpeedUom', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.nonStandardPortSpeedUom) {
return portConfigurationData.primaryPortConfigurationDetail.nonStandardPortSpeedUom;
} else {
return null;
}
}},{ name:'portConfigurationData_primaryPortConfigurationDetail_isFirmVpnSelected', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.primaryPortConfigurationDetail && portConfigurationData.primaryPortConfigurationDetail.isFirmVpnSelected) {
return portConfigurationData.primaryPortConfigurationDetail.isFirmVpnSelected;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_portSpeed_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.portSpeed && portConfigurationData.secondaryPortConfigurationDetail.portSpeed.value) {
return portConfigurationData.secondaryPortConfigurationDetail.portSpeed.value;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_portSpeed_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.portSpeed && portConfigurationData.secondaryPortConfigurationDetail.portSpeed.error) {
return portConfigurationData.secondaryPortConfigurationDetail.portSpeed.error;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_portSpeed_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.portSpeed && portConfigurationData.secondaryPortConfigurationDetail.portSpeed.valid) {
return portConfigurationData.secondaryPortConfigurationDetail.portSpeed.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_cosAssignment_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.value) {
return portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.value;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_cosAssignment_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.error) {
return portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.error;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_cosAssignment_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment && portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.valid) {
return portConfigurationData.secondaryPortConfigurationDetail.cosAssignment.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_cosCustomizationLevel', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.cosCustomizationLevel) {
return portConfigurationData.secondaryPortConfigurationDetail.cosCustomizationLevel;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_nonStandardPortFlag', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortFlag) {
return portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortFlag;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_nonStandardPortSpeed', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortSpeed) {
return portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortSpeed;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_af1', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.af1) {
return portConfigurationData.secondaryPortConfigurationDetail.af1;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_af2', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.af2) {
return portConfigurationData.secondaryPortConfigurationDetail.af2;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_af3', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.af3) {
return portConfigurationData.secondaryPortConfigurationDetail.af3;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_af4', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.af4) {
return portConfigurationData.secondaryPortConfigurationDetail.af4;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_de', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.de) {
return portConfigurationData.secondaryPortConfigurationDetail.de;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_ef_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.ef && portConfigurationData.secondaryPortConfigurationDetail.ef.value) {
return portConfigurationData.secondaryPortConfigurationDetail.ef.value;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_ef_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.ef && portConfigurationData.secondaryPortConfigurationDetail.ef.error) {
return portConfigurationData.secondaryPortConfigurationDetail.ef.error;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_ef_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.ef && portConfigurationData.secondaryPortConfigurationDetail.ef.valid) {
return portConfigurationData.secondaryPortConfigurationDetail.ef.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_bgpPrefixRange', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.bgpPrefixRange) {
return portConfigurationData.secondaryPortConfigurationDetail.bgpPrefixRange;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_afMultimediaFlag', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.afMultimediaFlag) {
return portConfigurationData.secondaryPortConfigurationDetail.afMultimediaFlag;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_hvpnGpop_value', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.value) {
return portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.value;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_hvpnGpop_error', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.error) {
return portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.error;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_hvpnGpop_valid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop && portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.valid) {
return portConfigurationData.secondaryPortConfigurationDetail.hvpnGpop.valid;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_totalNumberOfVPNs', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.totalNumberOfVPNs) {
return portConfigurationData.secondaryPortConfigurationDetail.totalNumberOfVPNs;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_nonStandardPortSpeedUom', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortSpeedUom) {
return portConfigurationData.secondaryPortConfigurationDetail.nonStandardPortSpeedUom;
} else {
return null;
}
}},{ name:'portConfigurationData_secondaryPortConfigurationDetail_isFirmVpnSelected', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.secondaryPortConfigurationDetail && portConfigurationData.secondaryPortConfigurationDetail.isFirmVpnSelected) {
return portConfigurationData.secondaryPortConfigurationDetail.isFirmVpnSelected;
} else {
return null;
}
}},{ name:'portConfigurationData_nonStandardPortDetail_portBidRequest', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.nonStandardPortDetail && portConfigurationData.nonStandardPortDetail.portBidRequest) {
return portConfigurationData.nonStandardPortDetail.portBidRequest;
} else {
return null;
}
}},{ name:'portConfigurationData_nonStandardPortDetail_portBid', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.nonStandardPortDetail && portConfigurationData.nonStandardPortDetail.portBid) {
return portConfigurationData.nonStandardPortDetail.portBid;
} else {
return null;
}
}},{ name:'portConfigurationData_nonStandardPortDetail_portBidStatus', mapping:'portConfigurationData', convert: function(portConfigurationData, record) {
if (!Ext.isEmpty(portConfigurationData) && portConfigurationData.nonStandardPortDetail && portConfigurationData.nonStandardPortDetail.portBidStatus) {
return portConfigurationData.nonStandardPortDetail.portBidStatus;
} else {
return null;
}
}},{ name:'portPricingData_primaryPortPricingDetail_portAndCosOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.primaryPortPricingDetail && portPricingData.primaryPortPricingDetail.portAndCosOneTime) {
return portPricingData.primaryPortPricingDetail.portAndCosOneTime;
} else {
return null;
}
}},{ name:'portPricingData_primaryPortPricingDetail_portAndCosMonthly', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.primaryPortPricingDetail && portPricingData.primaryPortPricingDetail.portAndCosMonthly) {
return portPricingData.primaryPortPricingDetail.portAndCosMonthly;
} else {
return null;
}
}},{ name:'portPricingData_primaryPortPricingDetail_additionalVpnOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.primaryPortPricingDetail && portPricingData.primaryPortPricingDetail.additionalVpnOneTime) {
return portPricingData.primaryPortPricingDetail.additionalVpnOneTime;
} else {
return null;
}
}},{ name:'portPricingData_primaryPortPricingDetail_additionalVpnMonthly', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.primaryPortPricingDetail && portPricingData.primaryPortPricingDetail.additionalVpnMonthly) {
return portPricingData.primaryPortPricingDetail.additionalVpnMonthly;
} else {
return null;
}
}},{ name:'portPricingData_primaryPortPricingDetail_bgpOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.primaryPortPricingDetail && portPricingData.primaryPortPricingDetail.bgpOneTime) {
return portPricingData.primaryPortPricingDetail.bgpOneTime;
} else {
return null;
}
}},{ name:'portPricingData_secondaryPortPricingDetail_portAndCosOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.secondaryPortPricingDetail && portPricingData.secondaryPortPricingDetail.portAndCosOneTime) {
return portPricingData.secondaryPortPricingDetail.portAndCosOneTime;
} else {
return null;
}
}},{ name:'portPricingData_secondaryPortPricingDetail_portAndCosMonthly', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.secondaryPortPricingDetail && portPricingData.secondaryPortPricingDetail.portAndCosMonthly) {
return portPricingData.secondaryPortPricingDetail.portAndCosMonthly;
} else {
return null;
}
}},{ name:'portPricingData_secondaryPortPricingDetail_additionalVpnOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.secondaryPortPricingDetail && portPricingData.secondaryPortPricingDetail.additionalVpnOneTime) {
return portPricingData.secondaryPortPricingDetail.additionalVpnOneTime;
} else {
return null;
}
}},{ name:'portPricingData_secondaryPortPricingDetail_additionalVpnMonthly', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.secondaryPortPricingDetail && portPricingData.secondaryPortPricingDetail.additionalVpnMonthly) {
return portPricingData.secondaryPortPricingDetail.additionalVpnMonthly;
} else {
return null;
}
}},{ name:'portPricingData_secondaryPortPricingDetail_bgpOneTime', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.secondaryPortPricingDetail && portPricingData.secondaryPortPricingDetail.bgpOneTime) {
return portPricingData.secondaryPortPricingDetail.bgpOneTime;
} else {
return null;
}
}},{ name:'portPricingData_errorDescription', mapping:'portPricingData', convert: function(portPricingData, record) {
if (!Ext.isEmpty(portPricingData) && portPricingData.errorDescription) {
return portPricingData.errorDescription;
} else {
return null;
}
}},{ name:'cpeConfigurationData_getCpeConfigFlag', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.getCpeConfigFlag) {
return cpeConfigurationData.getCpeConfigFlag;
} else {
return null;
}
}},{ name:'cpeConfigurationData_siteSurvey', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.siteSurvey) {
return cpeConfigurationData.siteSurvey;
} else {
return null;
}
}},{ name:'cpeConfigurationData_cpeContractTerm', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.cpeContractTerm) {
return cpeConfigurationData.cpeContractTerm;
} else {
return null;
}
}},{ name:'cpeConfigurationData_installationHours', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.installationHours) {
return cpeConfigurationData.installationHours;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_connectorType', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.connectorType) {
return cpeConfigurationData.primaryCpeConfigurationDetail.connectorType;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_routerBundle_value', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.value) {
return cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.value;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_routerBundle_error', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.error) {
return cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.error;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_routerBundle_valid', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.valid) {
return cpeConfigurationData.primaryCpeConfigurationDetail.routerBundle.valid;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_nonStandardCpeQrefId', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.nonStandardCpeQrefId) {
return cpeConfigurationData.primaryCpeConfigurationDetail.nonStandardCpeQrefId;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_snmpReadOnlyFlag', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.snmpReadOnlyFlag) {
return cpeConfigurationData.primaryCpeConfigurationDetail.snmpReadOnlyFlag;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_maintenanceOption', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.maintenanceOption) {
return cpeConfigurationData.primaryCpeConfigurationDetail.maintenanceOption;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_cpeSupplierType', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.cpeSupplierType) {
return cpeConfigurationData.primaryCpeConfigurationDetail.cpeSupplierType;
} else {
return null;
}
}},{ name:'cpeConfigurationData_primaryCpeConfigurationDetail_standardCpeQrefId', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.primaryCpeConfigurationDetail && cpeConfigurationData.primaryCpeConfigurationDetail.standardCpeQrefId) {
return cpeConfigurationData.primaryCpeConfigurationDetail.standardCpeQrefId;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_connectorType', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.connectorType) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.connectorType;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_routerBundle_value', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.value) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.value;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_routerBundle_error', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.error) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.error;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_routerBundle_valid', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle && cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.valid) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.routerBundle.valid;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_nonStandardCpeQrefId', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.nonStandardCpeQrefId) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.nonStandardCpeQrefId;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_snmpReadOnlyFlag', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.snmpReadOnlyFlag) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.snmpReadOnlyFlag;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_maintenanceOption', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.maintenanceOption) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.maintenanceOption;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_cpeSupplierType', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.cpeSupplierType) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.cpeSupplierType;
} else {
return null;
}
}},{ name:'cpeConfigurationData_secondaryCpeConfigurationDetail_standardCpeQrefId', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.secondaryCpeConfigurationDetail && cpeConfigurationData.secondaryCpeConfigurationDetail.standardCpeQrefId) {
return cpeConfigurationData.secondaryCpeConfigurationDetail.standardCpeQrefId;
} else {
return null;
}
}},{ name:'cpeConfigurationData_nonStandardCpeDetail_cpeBidRequest', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.nonStandardCpeDetail && cpeConfigurationData.nonStandardCpeDetail.cpeBidRequest) {
return cpeConfigurationData.nonStandardCpeDetail.cpeBidRequest;
} else {
return null;
}
}},{ name:'cpeConfigurationData_nonStandardCpeDetail_cpeBidNumber', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.nonStandardCpeDetail && cpeConfigurationData.nonStandardCpeDetail.cpeBidNumber) {
return cpeConfigurationData.nonStandardCpeDetail.cpeBidNumber;
} else {
return null;
}
}},{ name:'cpeConfigurationData_nonStandardCpeDetail_cpeBidStatus', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.nonStandardCpeDetail && cpeConfigurationData.nonStandardCpeDetail.cpeBidStatus) {
return cpeConfigurationData.nonStandardCpeDetail.cpeBidStatus;
} else {
return null;
}
}},{ name:'cpeConfigurationData_nonStandardCpeDetail_bidItem', mapping:'cpeConfigurationData', convert: function(cpeConfigurationData, record) {
if (!Ext.isEmpty(cpeConfigurationData) && cpeConfigurationData.nonStandardCpeDetail && cpeConfigurationData.nonStandardCpeDetail.bidItem) {
return cpeConfigurationData.nonStandardCpeDetail.bidItem;
} else {
return null;
}
}},{ name:'cpePricingData_requestId', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.requestId) {
return cpePricingData.requestId;
} else {
return null;
}
}},{ name:'cpePricingData_requestStatus', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.requestStatus) {
return cpePricingData.requestStatus;
} else {
return null;
}
}},{ name:'cpePricingData_errorDescription', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.errorDescription) {
return cpePricingData.errorDescription;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_pricingStatus', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.pricingStatus) {
return cpePricingData.primaryCpePricingDetail.pricingStatus;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_pricingError', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.pricingError) {
return cpePricingData.primaryCpePricingDetail.pricingError;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_sspBidReference', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.sspBidReference) {
return cpePricingData.primaryCpePricingDetail.sspBidReference;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_oneTimeOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.oneTimeOverrideCost) {
return cpePricingData.primaryCpePricingDetail.oneTimeOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_maintenanceOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.maintenanceOverrideCost) {
return cpePricingData.primaryCpePricingDetail.maintenanceOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_kitOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.kitOverrideCost) {
return cpePricingData.primaryCpePricingDetail.kitOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_primaryValidDate', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.primaryValidDate) {
return cpePricingData.primaryCpePricingDetail.primaryValidDate;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_cpeOneTimePrice', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.cpeOneTimePrice) {
return cpePricingData.primaryCpePricingDetail.cpeOneTimePrice;
} else {
return null;
}
}},{ name:'cpePricingData_primaryCpePricingDetail_cpeMonthlyPrice', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.primaryCpePricingDetail && cpePricingData.primaryCpePricingDetail.cpeMonthlyPrice) {
return cpePricingData.primaryCpePricingDetail.cpeMonthlyPrice;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_pricingStatus', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.pricingStatus) {
return cpePricingData.secondaryCpePricingDetail.pricingStatus;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_pricingError', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.pricingError) {
return cpePricingData.secondaryCpePricingDetail.pricingError;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_sspBidReference', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.sspBidReference) {
return cpePricingData.secondaryCpePricingDetail.sspBidReference;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_oneTimeOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.oneTimeOverrideCost) {
return cpePricingData.secondaryCpePricingDetail.oneTimeOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_maintenanceOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.maintenanceOverrideCost) {
return cpePricingData.secondaryCpePricingDetail.maintenanceOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_kitOverrideCost', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.kitOverrideCost) {
return cpePricingData.secondaryCpePricingDetail.kitOverrideCost;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_primaryValidDate', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.primaryValidDate) {
return cpePricingData.secondaryCpePricingDetail.primaryValidDate;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_cpeOneTimePrice', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.cpeOneTimePrice) {
return cpePricingData.secondaryCpePricingDetail.cpeOneTimePrice;
} else {
return null;
}
}},{ name:'cpePricingData_secondaryCpePricingDetail_cpeMonthlyPrice', mapping:'cpePricingData', convert: function(cpePricingData, record) {
if (!Ext.isEmpty(cpePricingData) && cpePricingData.secondaryCpePricingDetail && cpePricingData.secondaryCpePricingDetail.cpeMonthlyPrice) {
return cpePricingData.secondaryCpePricingDetail.cpeMonthlyPrice;
} else {
return null;
}
}},'primaryNonStandardPortFlag','secondaryNonStandardPortFlag','primaryNonStandardPortSpeedUom','secondaryNonStandardPortSpeedUom','primaryNonStandardPortSpeed','secondaryPortSpeed','primaryPortSpeed','secondaryNonStandardPortSpeed','siteId']});




Store


Ext.define('SQE.store.ConfigStore', {
extend: 'Ext.data.Store',
model: 'SQE.model.ConfigModel',
autoLoad: true,
proxy: new Ext.data.HttpProxy({
actionMethods: {
read: 'POST',
update: 'POST'
},
api: {
read: "/PROD_SQE_iVPN/service/multisite/bulkConfig",
update: '/PROD_SQE_iVPN/service/multisite/bulkConfig/save'
},
type: 'rest',
timeout: 120000,
reader: {
type: 'json',
root: "siteConfigurationData",
totalProperty: 'totalCount',
idProperty: 'siteName'
},
extraParams: {
format:'json',
rawFilterParams : '{}',
customerId : '1',
quoteHeaderId : quoteHeaderId
},
writer: new Ext.data.JsonWriter(
{
encode: true,
writeAllFields: true,
listful: true
})
})
});

rishisaraf11
23 Dec 2011, 3:54 AM
I think I got the problem convert function is returning null in model.I'll try by removing it.