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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? action.js

?? 本軟件包為使用ExtJs 必須要加載的js插件
?? JS
字號(hào):
/*
 * 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};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品费精品国产一区二区| 日韩精品乱码免费| 欧美电影免费观看高清完整版在线观看| 91日韩精品一区| www.视频一区| 成人中文字幕电影| 国产成人啪免费观看软件| 久色婷婷小香蕉久久| 奇米影视在线99精品| 日本成人超碰在线观看| 日韩精品乱码免费| 蜜桃视频在线观看一区| 欧美日韩一区二区三区高清| 欧美96一区二区免费视频| 午夜精品福利一区二区三区av| 亚洲大片在线观看| 香蕉久久一区二区不卡无毒影院 | 99久久久精品| 99久久精品99国产精品| 色一区在线观看| 欧美性受xxxx| 欧美一激情一区二区三区| 国产一区二区三区视频在线播放| 琪琪一区二区三区| 日韩精品视频网| 丝瓜av网站精品一区二区 | 91小视频在线免费看| 美腿丝袜亚洲色图| 国产精品亚洲一区二区三区妖精| 久久99国产精品免费| 国产日韩欧美在线一区| 国产喂奶挤奶一区二区三区| 国产精品美女久久久久久久| 一区视频在线播放| 亚洲在线观看免费| 美国十次了思思久久精品导航| 国产一区二区免费视频| 99视频有精品| 欧美精品一二三区| 26uuu国产一区二区三区| 国产精品超碰97尤物18| 亚洲成av人**亚洲成av**| 极品尤物av久久免费看| av不卡免费电影| 欧美日韩一区在线| 精品sm捆绑视频| 亚洲视频免费看| 看电影不卡的网站| gogogo免费视频观看亚洲一| 91精品国产综合久久福利软件 | 亚洲成人777| 婷婷丁香久久五月婷婷| 国产乱子轮精品视频| voyeur盗摄精品| 91.麻豆视频| 国产欧美日韩激情| 亚洲不卡在线观看| 成人免费看片app下载| 欧美亚洲一区三区| 久久久精品综合| 亚洲高清免费观看| 国产成人在线视频网站| 欧美性大战久久| 中日韩av电影| 日日夜夜精品视频天天综合网| 丁香另类激情小说| 欧美一区二区三区免费大片| 亚洲天堂久久久久久久| 激情综合色综合久久综合| 欧美日韩国产美女| 制服丝袜日韩国产| 婷婷一区二区三区| 欧美最猛黑人xxxxx猛交| 欧美激情综合五月色丁香小说| 欧美狂野另类xxxxoooo| 日韩欧美激情一区| 一级女性全黄久久生活片免费| 国产精品一二二区| 欧美一级欧美一级在线播放| 日韩久久一区二区| 欧美大胆一级视频| 亚洲国产精品人人做人人爽| 国产91精品入口| 精品国产一区二区三区忘忧草 | 综合激情成人伊人| 一区二区久久久久| 成人一级视频在线观看| 日韩免费看网站| 视频一区二区国产| 色激情天天射综合网| 国产日韩欧美一区二区三区乱码 | 亚洲一级片在线观看| av在线播放一区二区三区| 欧美精品一区二区精品网| 五月天亚洲婷婷| 在线视频欧美区| 亚洲色图20p| eeuss鲁一区二区三区| 国产欧美日韩另类一区| 国产精品一二一区| 久久久国产午夜精品| 国内精品国产成人国产三级粉色 | 一区二区三区国产豹纹内裤在线| 国产成人午夜高潮毛片| 2017欧美狠狠色| 国产精品一区二区免费不卡| 久久精品一区二区三区四区| 日韩va欧美va亚洲va久久| 91久久一区二区| 亚洲丝袜另类动漫二区| 成人精品gif动图一区| 国产精品18久久久久久vr | 欧美色网一区二区| 蜜桃av一区二区三区电影| 日本一区二区电影| 日韩午夜激情视频| 91色porny| 国产精品系列在线播放| 亚洲欧洲三级电影| 欧美变态口味重另类| 99视频在线观看一区三区| 日本大胆欧美人术艺术动态| 欧美a级理论片| 日韩欧美一级精品久久| 一区二区欧美精品| 亚洲午夜激情网站| 色八戒一区二区三区| 亚洲免费观看高清在线观看| 色婷婷久久久亚洲一区二区三区| 亚洲欧美另类久久久精品| 色吊一区二区三区| 日本色综合中文字幕| 欧美精品一区二区蜜臀亚洲| 成人自拍视频在线| 亚洲五码中文字幕| 日韩视频免费观看高清完整版在线观看 | 9191久久久久久久久久久| 男女视频一区二区| 久久久影院官网| 91在线国产福利| 香蕉影视欧美成人| 久久亚洲免费视频| 97超碰欧美中文字幕| 亚洲成人免费在线| 2023国产精品| 欧美自拍丝袜亚洲| 国产欧美视频一区二区三区| 狠狠色狠狠色综合| 欧美激情综合五月色丁香| 色综合视频一区二区三区高清| 亚洲高清视频中文字幕| www激情久久| 色综合色狠狠天天综合色| 性做久久久久久免费观看欧美| 久久91精品久久久久久秒播| 日韩专区欧美专区| 欧美日韩视频在线观看一区二区三区| 欧美性色aⅴ视频一区日韩精品| 色伊人久久综合中文字幕| 欧美日韩综合在线免费观看| 欧美精品在线观看播放| 精品国产一区二区三区不卡| 国产亚洲一区二区三区在线观看| 久久欧美中文字幕| 国产精品久久久一区麻豆最新章节| 亚洲欧美一区二区视频| 美女久久久精品| 日本不卡一二三| 国产精品成人网| 成人在线一区二区三区| 精品美女被调教视频大全网站| 不卡的av电影| 麻豆国产一区二区| 国产精品国产三级国产普通话三级 | 日韩电影在线观看电影| 中文幕一区二区三区久久蜜桃| 欧美一区二区三区性视频| 99精品欧美一区| 韩日av一区二区| 日韩一区精品字幕| 亚洲三级在线看| 国产欧美视频一区二区三区| 日韩欧美亚洲国产精品字幕久久久| 色综合久久久网| 成人听书哪个软件好| 久久99国产精品麻豆| 婷婷久久综合九色综合绿巨人| 亚洲视频精选在线| 欧美韩国一区二区| 日韩免费看的电影| 欧美日本乱大交xxxxx| 97精品国产露脸对白| 国产成人综合在线播放| 久久激情五月激情| 日韩高清在线一区| 久色婷婷小香蕉久久| 成人av在线资源网站| 韩国成人精品a∨在线观看| 亚洲国产成人porn| 一区二区三区欧美日|