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

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

?? action.js

?? java阿里巴巴代碼
?? JS
字號:
/*
 * Ext JS Library 2.1
 * 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 {Number} timeout The number of milliseconds to wait for a server response before * failing with the {@link #failureType} as {@link #CONNECT_FAILURE}. *//** * @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 isGet = method == 'GET';        if(o.clientValidation === false || this.form.isValid()){            Ext.Ajax.request(Ext.apply(this.createCallback(o), {                form:this.form.el.dom,                url:this.getUrl(isGet),                method: method,                headers: o.headers,                params:!isGet ? 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),                    headers: this.options.headers,                    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一区二区三区免费野_久草精品视频
国产日韩欧美不卡在线| 亚洲区小说区图片区qvod| 精品免费视频.| 欧美不卡在线视频| 蜜桃视频一区二区三区在线观看 | 久久久美女艺术照精彩视频福利播放| 亚洲精品在线免费观看视频| 亚洲免费观看高清完整版在线 | 欧洲亚洲国产日韩| 精品国产免费一区二区三区四区| 美日韩一区二区| 久久久久久久性| 99久久免费国产| 精品入口麻豆88视频| 国产在线不卡一区| 欧美日韩国产天堂| 欧美国产97人人爽人人喊| 日韩av网站在线观看| 91蜜桃在线免费视频| 欧美精品一区二区三区在线| 久久精品国产在热久久| 欧美日韩一区精品| 17c精品麻豆一区二区免费| 久热成人在线视频| 中文字幕巨乱亚洲| 欧美午夜精品电影| 亚洲一级二级在线| 91小视频免费观看| 午夜电影网一区| 欧美色倩网站大全免费| 精品一区二区在线观看| 国产精品嫩草99a| 日日摸夜夜添夜夜添精品视频| 色偷偷成人一区二区三区91 | 成人午夜精品在线| 精品少妇一区二区三区日产乱码| 国产成人日日夜夜| 国产视频在线观看一区二区三区 | 欧美极品少妇xxxxⅹ高跟鞋| 日本高清成人免费播放| 1024国产精品| 亚洲精品一区二区三区蜜桃下载| 色综合激情久久| 国产美女一区二区三区| 亚洲一区二区欧美日韩| 国产精品少妇自拍| 6080yy午夜一二三区久久| 日韩精品成人一区二区在线| 中文字幕av不卡| 欧美大白屁股肥臀xxxxxx| 老司机精品视频线观看86| 亚洲伦理在线精品| 777午夜精品免费视频| 91在线丨porny丨国产| 久久99精品久久久久久久久久久久| 亚洲美女免费视频| 亚洲国产激情av| 欧美精品一区二区三区在线播放| 欧美日韩视频专区在线播放| 97精品久久久午夜一区二区三区 | 色婷婷综合久久久中文字幕| 国产一区二区三区免费看| 亚洲成人免费视频| 久久综合狠狠综合久久综合88| 国产九色精品成人porny| 椎名由奈av一区二区三区| 欧美午夜宅男影院| 色播五月激情综合网| 99精品久久久久久| 国产精品一卡二卡在线观看| 蜜桃久久久久久| 日本视频免费一区| 日韩电影免费在线观看网站| 亚洲国产精品一区二区www在线| 精品国产伦一区二区三区观看方式| 欧美高清激情brazzers| 国产成人精品免费| 国产成人午夜99999| 国产成人av电影| 免费欧美在线视频| 亚洲欧美在线另类| 1000精品久久久久久久久| 亚洲视频免费在线观看| 亚洲欧美aⅴ...| 玉足女爽爽91| 亚洲综合成人在线| 性欧美疯狂xxxxbbbb| 午夜精品久久久久久久99樱桃| 夜色激情一区二区| 精品久久久久久无| 精品国产一区二区三区久久久蜜月 | 国产亚洲一区二区三区四区| 精品国产欧美一区二区| 久久精品夜色噜噜亚洲a∨| 欧美国产欧美综合| 亚洲精品综合在线| 天天影视涩香欲综合网| 秋霞电影网一区二区| 久久精品国产一区二区| 一本大道久久精品懂色aⅴ| 欧美色综合久久| 日韩精品自拍偷拍| 国产精品久线在线观看| 欧美大白屁股肥臀xxxxxx| 精品成人一区二区三区四区| 国产视频视频一区| 亚洲精品乱码久久久久久黑人 | 91无套直看片红桃| 欧美在线不卡视频| 欧美电影免费观看高清完整版在 | 国产露脸91国语对白| 成人动漫一区二区在线| 国产精品一区二区免费不卡| av在线不卡网| 99re这里只有精品视频首页| 欧美在线一二三| 欧美大片顶级少妇| 国产精品久久久久久久久免费桃花 | 99国产精品久久久| 7878成人国产在线观看| 国产视频视频一区| 石原莉奈在线亚洲三区| 国产电影一区在线| 欧美日韩国产综合久久| 久久久久久久综合色一本| 亚洲制服丝袜在线| 国产福利精品一区二区| 欧美性猛交一区二区三区精品| 亚洲精品在线观| 亚洲国产精品综合小说图片区| 国内久久婷婷综合| 国产精品一二三区| 欧美性色aⅴ视频一区日韩精品| 日韩女同互慰一区二区| 国产精品国产a级| 黄色日韩三级电影| 91麻豆精品国产| 亚洲精品成人天堂一二三| 国产乱码一区二区三区| 欧美日韩一区二区三区高清| 国产精品传媒在线| 精品亚洲免费视频| 欧美欧美午夜aⅴ在线观看| 国产精品国产精品国产专区不片| 久久精品理论片| 欧美喷潮久久久xxxxx| 亚洲精品国产a久久久久久| 国产乱妇无码大片在线观看| 久久久亚洲欧洲日产国码αv| 亚洲成精国产精品女| 91麻豆产精品久久久久久| 欧美激情一区在线| 国产一区二区三区日韩| 精品久久人人做人人爽| 日本午夜一本久久久综合| 欧美三区免费完整视频在线观看| 中文字幕亚洲在| 99在线精品免费| 中文一区二区在线观看| 国产精品18久久久| 久久久久国产一区二区三区四区| 秋霞av亚洲一区二区三| 欧美绝品在线观看成人午夜影视| 亚洲麻豆国产自偷在线| 91免费版在线| 亚洲精品乱码久久久久久黑人| 97久久超碰国产精品电影| √…a在线天堂一区| 成人av影院在线| 国产精品久久免费看| 风间由美一区二区av101| 久久精品夜夜夜夜久久| 国产精品亚洲专一区二区三区| 精品捆绑美女sm三区| 狠狠色丁香婷婷综合| 久久久一区二区三区| 国产成人99久久亚洲综合精品| 欧美激情一区不卡| av亚洲产国偷v产偷v自拍| 亚洲美女偷拍久久| 欧美浪妇xxxx高跟鞋交| 久久不见久久见中文字幕免费| 久久夜色精品一区| 成人av手机在线观看| 亚洲精品视频自拍| 欧美日韩国产免费| 麻豆精品在线看| 国产色91在线| 91亚洲国产成人精品一区二区三| 夜夜嗨av一区二区三区中文字幕| 51精品久久久久久久蜜臀| 国内精品视频666| 国产精品日产欧美久久久久| 99精品欧美一区二区三区综合在线| 中文字幕一区二区5566日韩| 欧美日韩一区不卡| 国产老女人精品毛片久久| 亚洲女人的天堂| 欧美精品18+| 国产不卡高清在线观看视频|