This file contains hidden or 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('Test.field.Countries', { | |
extend : 'Ext.form.field.ComboBox', | |
alias : 'widget.field-countries', | |
fieldLabel : 'Countries', | |
queryMode : 'local', | |
displayField : 'name', | |
valueField : 'abbr', | |
store : { | |
xclass : 'Ext.data.Store', |
This file contains hidden or 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
/** | |
* @author Mitchell Simoens ([email protected]) | |
* | |
* This override is to make {@link Ext.form.field.ComboBox} not disrupt | |
* existing filters on a {@link Ext.data.Store}. | |
* | |
* This override only affects the {@link Ext.form.field.ComboBox} if | |
* queryMode = 'local' and triggerAction = 'query'. | |
* | |
* Ext JS versions tested: 4.0.7, 4.1.0 PR1, SDK repo (2011-11-25) |
This file contains hidden or 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.override(Ext.LoadMask, { | |
onBeforeLoad: function() { | |
var me = this; | |
if (!me.disabled) { | |
me.loading = true; | |
} | |
me.callOverridden(arguments); | |
} |
This file contains hidden or 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
test |
This file contains hidden or 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
//nodejs v0.4.13-pre | |
//express 2.4.7 | |
var express = require('express'), | |
server = express.createServer( | |
express.bodyParser(), | |
express.methodOverride() | |
); | |
server.post('/', function(req, res) { |
NewerOlder