亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? action.js

?? 當前比較流行的,漂亮的JS框架,這里面用到的API文檔
?? JS
字號:
/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/** * @class Ext.form.Action * The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * the Form needs to perform an action such as submit or load. The Configuration options * listed for this class are set through the Form's action methods: {@link Ext.form.BasicForm#submit submit}, * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}. * <br><br> * The instance of Action which performed the action is passed to the success * and failure callbacks of the Form's action methods ({@link Ext.form.BasicForm#submit submit}, * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}), * and to the {@link Ext.form.BasicForm#actioncomplete actioncomplete} and * {@link Ext.form.BasicForm#actionfailed actionfailed} event handlers. */Ext.form.Action = function(form, options){    this.form = form;    this.options = options || {};};/** * Failure type returned when client side validation of the Form fails * thus aborting a submit action. * @type {String} * @static */Ext.form.Action.CLIENT_INVALID = 'client';/** * Failure type returned when server side validation of the Form fails * indicating that field-specific error messages have been returned in the * response's <tt style="font-weight:bold">errors</tt> property. * @type {String} * @static */Ext.form.Action.SERVER_INVALID = 'server';/** * Failure type returned when a communication error happens when attempting * to send a request to the remote server. * @type {String} * @static */Ext.form.Action.CONNECT_FAILURE = 'connect';/** * Failure type returned when no field values are returned in the response's * <tt style="font-weight:bold">data</tt> property. * @type {String} * @static */Ext.form.Action.LOAD_FAILURE = 'load';Ext.form.Action.prototype = {/** * @cfg {String} url The URL that the Action is to invoke. *//** * @cfg {String} method The HTTP method to use to access the requested URL. Defaults to the * {@link Ext.form.BasicForm}'s method, or if that is not specified, the underlying DOM form's method. *//** * @cfg {Mixed} params Extra parameter values to pass. These are added to the Form's * {@link Ext.form.BasicForm#baseParams} and passed to the specified URL along with the Form's * input fields. *//** * @cfg {Function} success The function to call when a valid success return packet is recieved. * The function is passed the following parameters:<ul class="mdetail-params"> * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li> * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. The {@link #result} * property of this object may be examined to perform custom postprocessing.</div></li> * </ul> *//** * @cfg {Function} failure The function to call when a failure packet was recieved, or when an * error ocurred in the Ajax communication. * The function is passed the following parameters:<ul class="mdetail-params"> * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li> * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. If an Ajax * error ocurred, the failure type will be in {@link #failureType}. The {@link #result} * property of this object may be examined to perform custom postprocessing.</div></li> * </ul>*//** * @cfg {Object} scope The scope in which to call the callback functions (The <tt>this</tt> reference * for the callback functions). *//** * @cfg {String} waitMsg The message to be displayed by a call to {@link Ext.MessageBox#wait} * during the time the action is being processed. *//** * @cfg {String} waitTitle The title to be displayed by a call to {@link Ext.MessageBox#wait} * during the time the action is being processed. *//** * The type of action this Action instance performs. * Currently only "submit" and "load" are supported. * @type {String} */    type : 'default',/** * The type of failure detected. See {@link #Ext.form.Action.CLIENT_INVALID CLIENT_INVALID}, {@link #Ext.form.Action.SERVER_INVALID SERVER_INVALID}, * {@link #Ext.form.Action.CONNECT_FAILURE CONNECT_FAILURE}, {@link #Ext.form.Action.LOAD_FAILURE LOAD_FAILURE} * @property failureType * @type {String} *//** * The XMLHttpRequest object used to perform the action. * @property response * @type {Object} *//** * The decoded response object containing a boolean <tt style="font-weight:bold">success</tt> property and * other, action-specific properties. * @property result * @type {Object} */    // interface method    run : function(options){    },    // interface method    success : function(response){    },    // interface method    handleResponse : function(response){    },    // default connection failure    failure : function(response){        this.response = response;        this.failureType = Ext.form.Action.CONNECT_FAILURE;        this.form.afterAction(this, false);    },    // private    processResponse : function(response){        this.response = response;        if(!response.responseText){            return true;        }        this.result = this.handleResponse(response);        return this.result;    },    // utility functions used internally    getUrl : function(appendParams){        var url = this.options.url || this.form.url || this.form.el.dom.action;        if(appendParams){            var p = this.getParams();            if(p){                url += (url.indexOf('?') != -1 ? '&' : '?') + p;            }        }        return url;    },    // private    getMethod : function(){        return (this.options.method || this.form.method || this.form.el.dom.method || 'POST').toUpperCase();    },    // private    getParams : function(){        var bp = this.form.baseParams;        var p = this.options.params;        if(p){            if(typeof p == "object"){                p = Ext.urlEncode(Ext.applyIf(p, bp));            }else if(typeof p == 'string' && bp){                p += '&' + Ext.urlEncode(bp);            }        }else if(bp){            p = Ext.urlEncode(bp);        }        return p;    },    // private    createCallback : function(opts){		var opts = opts || {};        return {            success: this.success,            failure: this.failure,            scope: this,            timeout: (opts.timeout*1000) || (this.form.timeout*1000),            upload: this.form.fileUpload ? this.success : undefined        };    }};/** * @class Ext.form.Action.Submit * @extends Ext.form.Action * A class which handles submission of data from {@link Ext.form.BasicForm Form}s * and processes the returned response. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * submitting. * <br><br> * A response packet must contain a boolean <tt style="font-weight:bold">success</tt> property, and, optionally * an <tt style="font-weight:bold">errors</tt> property. The <tt style="font-weight:bold">errors</tt> property contains error * messages for invalid fields. * <br><br> * By default, response packets are assumed to be JSON, so a typical response * packet may look like this: * <br><br><pre><code>{    success: false,    errors: {        clientCode: "Client not found",        portOfLoading: "This field must not be null"    }}</code></pre> * <br><br> * Other data may be placed into the response for processing the the {@link Ext.form.BasicForm}'s callback * or event handler methods. The object decoded from this JSON is available in the {@link #result} property. */Ext.form.Action.Submit = function(form, options){    Ext.form.Action.Submit.superclass.constructor.call(this, form, options);};Ext.extend(Ext.form.Action.Submit, Ext.form.Action, {    /**    * @cfg {boolean} clientValidation Determines whether a Form's fields are validated    * in a final call to {@link Ext.form.BasicForm#isValid isValid} prior to submission.    * Pass <tt>false</tt> in the Form's submit options to prevent this. If not defined, pre-submission field validation    * is performed.    */    type : 'submit',    // private    run : function(){        var o = this.options;        var method = this.getMethod();        var isPost = method == 'POST';        if(o.clientValidation === false || this.form.isValid()){            Ext.Ajax.request(Ext.apply(this.createCallback(o), {                form:this.form.el.dom,                url:this.getUrl(!isPost),                method: method,                params:isPost ? this.getParams() : null,                isUpload: this.form.fileUpload            }));        }else if (o.clientValidation !== false){ // client validation failed            this.failureType = Ext.form.Action.CLIENT_INVALID;            this.form.afterAction(this, false);        }    },    // private    success : function(response){        var result = this.processResponse(response);        if(result === true || result.success){            this.form.afterAction(this, true);            return;        }        if(result.errors){            this.form.markInvalid(result.errors);            this.failureType = Ext.form.Action.SERVER_INVALID;        }        this.form.afterAction(this, false);    },    // private    handleResponse : function(response){        if(this.form.errorReader){            var rs = this.form.errorReader.read(response);            var errors = [];            if(rs.records){                for(var i = 0, len = rs.records.length; i < len; i++) {                    var r = rs.records[i];                    errors[i] = r.data;                }            }            if(errors.length < 1){                errors = null;            }            return {                success : rs.success,                errors : errors            };        }        return Ext.decode(response.responseText);    }});/** * @class Ext.form.Action.Load * @extends Ext.form.Action * A class which handles loading of data from a server into the Fields of * an {@link Ext.form.BasicForm}. * <br><br> * Instances of this class are only created by a {@link Ext.form.BasicForm Form} when * submitting. * <br><br> * A response packet <b>must</b> contain a boolean <tt style="font-weight:bold">success</tt> property, and * a <tt style="font-weight:bold">data</tt> property. The <tt style="font-weight:bold">data</tt> property contains the * values of Fields to load. The individual value object for each Field * is passed to the Field's {@link Ext.form.Field#setValue setValue} method. * <br><br> * By default, response packets are assumed to be JSON, so a typical response * packet may look like this: * <br><br><pre><code>{    success: true,    data: {        clientName: "Fred. Olsen Lines",        portOfLoading: "FXT",        portOfDischarge: "OSL"    }}</code></pre> * <br><br> * Other data may be placed into the response for processing the the {@link Ext.form.BasicForm Form}'s callback * or event handler methods. The object decoded from this JSON is available in the {@link #result} property. */Ext.form.Action.Load = function(form, options){    Ext.form.Action.Load.superclass.constructor.call(this, form, options);    this.reader = this.form.reader;};Ext.extend(Ext.form.Action.Load, Ext.form.Action, {    // private    type : 'load',    // private    run : function(){        Ext.Ajax.request(Ext.apply(                this.createCallback(this.options), {                    method:this.getMethod(),                    url:this.getUrl(false),                    params:this.getParams()        }));    },    // private    success : function(response){        var result = this.processResponse(response);        if(result === true || !result.success || !result.data){            this.failureType = Ext.form.Action.LOAD_FAILURE;            this.form.afterAction(this, false);            return;        }        this.form.clearInvalid();        this.form.setValues(result.data);        this.form.afterAction(this, true);    },    // private    handleResponse : function(response){        if(this.form.reader){            var rs = this.form.reader.read(response);            var data = rs.records && rs.records[0] ? rs.records[0].data : null;            return {                success : rs.success,                data : data            };        }        return Ext.decode(response.responseText);    }});Ext.form.Action.ACTION_TYPES = {    'load' : Ext.form.Action.Load,    'submit' : Ext.form.Action.Submit};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩精品视频一区| 日韩一区日韩二区| 欧美吞精做爰啪啪高潮| 国产一区二区三区美女| 洋洋av久久久久久久一区| 精品国产精品一区二区夜夜嗨| 99久久综合色| 国产电影一区在线| 国模冰冰炮一区二区| 亚洲sss视频在线视频| 亚洲日本va在线观看| 国产情人综合久久777777| 欧美成人欧美edvon| 91精品国产入口| 6080亚洲精品一区二区| 欧美视频第二页| 欧美影院一区二区三区| 欧美三区在线观看| 欧美在线观看一二区| 91免费看`日韩一区二区| 成人国产精品视频| voyeur盗摄精品| 色成年激情久久综合| 欧美性videosxxxxx| 欧美日韩在线不卡| 9l国产精品久久久久麻豆| 国产v日产∨综合v精品视频| 激情成人综合网| 国产一区二区三区电影在线观看| 久久精品国产**网站演员| 国产综合成人久久大片91| 国产一区二区三区免费在线观看| 国产高清一区日本| 成人伦理片在线| 色婷婷av久久久久久久| 欧美午夜精品理论片a级按摩| 3d动漫精品啪啪一区二区竹菊 | 亚洲欧美日韩精品久久久久| 一区二区三区精品在线| 日韩国产欧美三级| 国产精品亚洲一区二区三区在线| 成人av电影免费在线播放| 91官网在线免费观看| 日韩你懂的在线观看| 国产网红主播福利一区二区| 亚洲免费色视频| 免费久久精品视频| 成人精品一区二区三区四区| 欧美日韩一级二级| 久久久亚洲精品石原莉奈| 亚洲一区二区三区四区在线免费观看 | 成人久久18免费网站麻豆| 欧美日韩高清在线播放| 国产情人综合久久777777| 亚洲成人免费视频| 国产91在线观看| 91精品午夜视频| 亚洲欧洲综合另类| 久久99精品国产麻豆不卡| 99久久精品国产精品久久| 精品国产污污免费网站入口| 亚洲欧美日韩国产中文在线| 国产一区二区三区免费观看| 欧美日韩一区二区三区免费看| 久久久国产精品不卡| 日韩电影在线一区二区三区| 不卡的电视剧免费网站有什么| 日韩三级免费观看| 亚洲第一久久影院| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 国产成人免费av在线| 欧美乱妇15p| 亚洲影视在线播放| 99久久精品国产毛片| 国产精品乱码一区二三区小蝌蚪| 裸体一区二区三区| 欧美精品色一区二区三区| 亚洲小少妇裸体bbw| 色综合久久中文字幕| 国产精品日韩成人| 国产黄人亚洲片| 国产午夜精品美女毛片视频| 国产一区二区调教| 久久一二三国产| 看国产成人h片视频| 欧美电影免费观看高清完整版在| 日日夜夜免费精品| 日韩一区二区免费视频| 麻豆精品视频在线观看视频| 日韩一区二区在线观看视频播放| 日韩成人精品在线| 69堂精品视频| 九九九久久久精品| 国产日本欧洲亚洲| 不卡av电影在线播放| 国产精品灌醉下药二区| 91麻豆国产自产在线观看| 亚洲欧美日韩综合aⅴ视频| 欧亚洲嫩模精品一区三区| 亚洲动漫第一页| 欧美成人福利视频| 国产成人aaa| 一区二区三区美女| 日韩欧美一区二区在线视频| 国产一区二区三区黄视频 | 欧美色涩在线第一页| 水野朝阳av一区二区三区| 精品国产电影一区二区| 成人福利视频网站| 亚洲123区在线观看| 精品1区2区在线观看| 97久久精品人人爽人人爽蜜臀 | 99精品视频在线观看| 偷偷要91色婷婷| 国产精品免费人成网站| 欧美中文字幕一区二区三区亚洲| 日本不卡免费在线视频| 久久精品这里都是精品| 欧美午夜宅男影院| 国产成人啪免费观看软件| 亚洲综合色区另类av| 精品日韩在线一区| 欧美性极品少妇| 成人性视频免费网站| 日韩精品91亚洲二区在线观看 | 成人手机电影网| 日韩国产高清在线| 1024成人网| 久久久国际精品| 欧美欧美午夜aⅴ在线观看| 成人丝袜18视频在线观看| 久热成人在线视频| 日韩福利电影在线| 亚洲一区二区三区四区在线观看 | 99在线精品视频| 国模一区二区三区白浆| 日韩精品91亚洲二区在线观看| 日韩码欧中文字| 国产精品丝袜一区| 久久综合成人精品亚洲另类欧美| 欧美精品精品一区| 欧美三片在线视频观看 | 国产精品护士白丝一区av| 亚洲精品在线免费播放| 91麻豆精品91久久久久同性| 欧美日韩精品欧美日韩精品一综合| 99久免费精品视频在线观看| 国产精品18久久久| 盗摄精品av一区二区三区| 国产乱码精品一区二区三区忘忧草| 日韩av中文字幕一区二区三区 | 亚洲少妇最新在线视频| 综合激情成人伊人| 中文字幕成人网| 国产精品视频看| 亚洲精品五月天| 一区二区三区中文字幕精品精品| 一色屋精品亚洲香蕉网站| 国产精品久久久久久久久免费丝袜| 亚洲国产精品精华液2区45| 亚洲国产电影在线观看| 中文字幕在线免费不卡| 亚洲欧美另类久久久精品2019| 亚洲精品日韩专区silk| 亚洲大片免费看| 久久激情五月激情| 国产成人av在线影院| 色偷偷一区二区三区| 91麻豆精品国产91久久久资源速度 | 激情亚洲综合在线| 成人精品国产福利| 91丝袜美腿高跟国产极品老师 | 国产精品自在欧美一区| 不卡大黄网站免费看| 欧美剧情片在线观看| 久久精品夜色噜噜亚洲a∨ | 欧美成人性福生活免费看| 26uuu国产电影一区二区| 亚洲国产精品精华液ab| 亚洲电影一级片| 国产很黄免费观看久久| 欧美日韩国产三级| 国产三级欧美三级| 亚洲一区二区在线免费观看视频| 美女mm1313爽爽久久久蜜臀| av资源网一区| 日韩免费视频一区| 亚洲综合色在线| 懂色中文一区二区在线播放| 欧美日韩你懂得| 国产精品久99| 国内不卡的二区三区中文字幕| 欧美中文字幕一区二区三区亚洲| 久久综合九色综合久久久精品综合 | 亚洲一区二区偷拍精品| 国产精品白丝av| 日韩精品一区二区在线| 亚洲综合一区二区精品导航| 国产成人精品综合在线观看| 欧美一区二区在线免费播放|