`

Ext.form.Load

阅读更多

Ext.form.Load的 API文档开头就说明了响应数据包必须类似下面的格式:
{
    success: true,
    data: {
        字段名:字段值
    }
}

form1.form.load( {
                url :   url
                waitMsg : '正在载入数据...',
                success : function(form,action) {
                    Ext.example.msg('编辑', '载入成功!');
                },
                failure : function(form,action) {
                    Ext.example.msg('编辑', '载入失败');
                }
            });
        }
分享到:
评论

相关推荐

    Ext Js权威指南(.zip.001

    Ex4.0共2个压缩包特性,《ext js权威指南》 前 言 第1章 ext js 4开发入门 / 1 1.1 学习ext js必需的基础知识 / 1 1.2 json概述 / 3 1.2.1 认识json / 3 1.2.2 json的结构 / 3 1.2.3 json的例子 / 4 1.2.4 ...

    ExtJs实现数据加载和提交经典代码

    FormPanel中的 form对象为Ext.form.BasicForm类型的对象,它有load和submit方法分别用于加载数据和提交数据。而这两个方法都是通过调用 Ext.form.BasicForm中的doAction方法来操作的。doAction方法带有两个参数,...

    Ext.JS.4.First.Look(第1版)

    This book provides examples of how to load Ext JS components by demand, charts, grid, tree, forms and panels, new data model, themes and mvc architecture. Ext JS 4 First Look provides full examples ...

    Ext+JS高级程序设计.rar

    6.3.5 在form中使用Ext.Direct提交数据 187 6.3.6 使用polling方式进行轮询 189 6.4 本章小结 191 第7章 Store 192 7.1 Store的结构 192 7.2 Ext.data.Field 197 7.3 Ext.data.Record 198 7.4 ArrayReader、...

    Ext form_load

    Ext form_loadExt form_loadExt form_loadExt form_loadExt form_loadExt form_loadExt form_load

    ext form 表单提交数据的方法小结

    EXT的form表单ajax提交(默认提交方式) 代码如下: 1. function login(item) { 2. 3. if (validatorForm()) { 4. // 登录时将登录按钮设为disabled,防止重复提交 5. this.disabled = true; 6. 7...

    Extjs 的form load

    ext form 提交表单介绍 个个属性的介绍 两个函数介绍

    kindEditor中关于上传处理

    在form.load里加入以下代码: var contentValue = document.getElementById('infoContent').value; content.html(contentValue); 另外,kindEditor的上传功能官方给的在实际项目中有点差别。需要修改下.

    ExtAspNet v2.2.1 (2009-4-1) 值得一看

    -这样所有需要占据全屏的Panel(不管你是Accordion,Panel,ContentPanel,Form,GroupPanel,SimpleForm,Tree还是Grid,TabStrip)都可以通过这种方式全屏。 -简单方便,示例可以参考 default.aspx 或者 other\...

    VB PHP实现机器码注册码计算并生成.rar

     Load Form1 'Form1 换成用户程序启动窗口的名字  End Sub  3、若卸载程序时需要清除注册信息,在卸载代码中添加下列语句:  UnRegist  1.1版到2.0版在某些网友的机器上一直出现读内存错误,VBGood 论坛...

    php.ini-development

    PHP attempts to find and load this configuration from a number of locations. ; The following is a summary of its search order: ; 1. SAPI module specific location. ; 2. The PHPRC environment variable....

    ExtAspNet_v2.3.2_dll

    -增加示例:form/form_validate.aspx +2009-10-19 v2.1.3 +增加支持在AJAX时改变的控件属性列表(/ajax.aspx)。 -ExtAspNet支持原生的AJAX,也就是说控件的属性改变在AJAX过程中会反映到页面中,但并不是...

    unigui0.83.5.820

    - 0000712: raise error if Form owner is not either TUniGUIApplication or TApplication - 0000609: TUniTimer: Attach to TUniScreenMask - 0000703: TUniDBLookUpxxx bug when datasource and datafield are ...

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    libencode-locale-perl libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl ...

    java结合jsp写的上传文件代码

    // 忽略简单form字段而不是上传域的文件域(等) if (fileItem == null || fileItem.isFormField()) { continue; } // 得到文件的完整路径 path = fileItem.getName(); // 得到文件的大小 size = fileItem.getSize(); ...

    ak2新版内核AKAIO1.5

    - New line in uisettings.ini "customUnicodeFont = xxxxxx.pcf" will load that font instead of default + Ability to hide extensions by manually adding "hideExtension = 1" to globalsettings.ini + DMA ...

    Bochs - The cross platform IA-32 (x86) emulator

    [3084390] Bochs won't load floppy plugin right on startup [3043174] Docbook use of '_' build failure [3085140] Ia_arpl_Ew_Rw definition of error [3078995] ROL/ROR/SHL/SHR modeling wrong when dest ...

    8-07-14_MegaCLI for linux_windows

    LSIP200245985 (DFCT) Load address change for PCLI LSIP200233342 (DFCT) Error message displayed while deleting all ld's in MegaCLI, SLESS11 sp2 LSIP200232922 (DFCT) MegaCLI misspell the word "package...

    jquery-1.1.3 效率提高800%

    Safari 2 3575ms 475ms 753% Opera 9.1 3196ms 326ms 980% Average improvement: 867% <br>下表为jQuery1.1.3与常用的一些JS库选择器的对比: Browser Prototype jQuery Mootools Ext Dojo ...

Global site tag (gtag.js) - Google Analytics