发布时间:2013-07-05 10:14:06
1、Submitting a Form 如何提交表单最简单的提交数据到服务器端的办法就是设置BasicForm的url配置,因为Form Panel封装了BasicForm,这个url直接配置给Form Panel亦可,它会透传给BasicForm的。Ext.create('Ext.form.Panel', { ... url: 'add_user', items: [ ... ]}); BasicForm的su.........【阅读全文】
发布时间:2013-07-04 16:50:30
所用技术:struts2+jsonplugin+jquery+flexigrid在struts2中,通常情况下action直接继承的是ActionSupport,有时为了项目的需要,可能要写一个BaseAction类来继承ActionSupport,让所有的action来继承BaseActionJava代码 @ParentPackage("jshop") .........【阅读全文】
发布时间:2013-07-02 17:58:01
Extjs creates getter for your views (those listed in the controller's view array) and you get access to them:var view = this.getSchedulerSchedulerView();Once you have the view reference you can do this to get access to the contained grid:var grid = view.down('.inventorylist'); grid.disable();.........【阅读全文】