This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getFieldValues: function (itemIds, form) { | |
var values = []; | |
var delimitedValues = ''; | |
var i = 0; | |
Ext.each(itemIds, function (itemId) { | |
values[i] = form.down(itemId).getValue(); | |
delimitedValues = delimitedValues + values[i] + '|'; | |
i++; | |
}); | |
var returnObj = new Object(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?<!//)(?>console.log)(.*)(?=;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?<=')(.*)Item(.*)(?<=,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.define('App.controller.exampleController', { | |
extend: 'Ext.app.Controller', | |
init: function () { | |
this.control({ | |
'#someButton': { | |
click: this.buttonAction | |
} | |
}); | |
}, | |
buttonAction: function (btn) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select parameter_name,data_type from information_schema.parameters | |
where specific_name='storedProcName' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.data.JsonP.request({ | |
'url': 'url', | |
params: { | |
'param1': 'value' | |
}, | |
success: function (result, request) { | |
//success | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.Ajax.request({ | |
url: 'page.php', | |
params: { | |
id: 1 | |
}, | |
success: function(response){ | |
var text = response.responseText; | |
// process server response here | |
// var jsonData = Ext.JSON.decode(response.responseText); | |
// console.log(jsonData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
999-99-9999(SSN) | |
^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$ | |
99-9999999(Tax-Id) | |
@"^(?!(000|666|9))\d{2}-(?!00)\d{7}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?<=itemId:\s?').+?(?=') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select OBJECT_SCHEMA_NAME ( a.object_id) + '.' + a.name | |
,OBJECT_SCHEMA_NAME ( a.object_id) as [schema] | |
,OBJECT_DEFINITION(a.object_id) as def | |
from | |
sys.all_objects a | |
where a.type_desc = 'SQL_STORED_PROCEDURE' | |
and a.name not like 'sp_%' | |
and a.name not like 'xp_%' |
OlderNewer