javascript
文章平均质量分 67
个性时尚
笑笑十年少
展开
-
spring+hibernate+struts文件基本配置
将以下两个配置文件复制到相应的目录文件中,即可对业务层的逻辑进行相关的操作,如有疑问,请留言,我与及时补充一、spring配置 xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://ww原创 2013-02-17 14:02:34 · 296 阅读 · 0 评论 -
dump工具
function dump(obj){ var win=window.open('', 'dump', ''); var temp=[]; for(var p in obj){ temp.push(p); } temp.sort(); var str=""; for(var i=0;i str+=""+temp[i]+""+obj[temp[i]]+"";原创 2013-02-26 13:37:02 · 477 阅读 · 0 评论 -
Ext中panel最基本的写法
//引入相关的js包//数据初始化Ext.onReady(function(){ var e=new Ext.Element("hello"); alert(Ext.getDom("hello")) var h=new Ext.Panel({ id:"h2", title:" ", renderTo:"hello", width:300,原创 2013-02-27 14:30:27 · 569 阅读 · 0 评论 -
Ext 表单
Ext.onReady(function(){ var fp=new Ext.form.FormPanel({ bodyStyle:{'padding':'80 100'}, defaults:{width:120}, labelWidth:50, labelSeparator:'>>', items:[{ fieldLa原创 2013-02-27 15:12:43 · 633 阅读 · 0 评论 -
Ext进度条
一、基本语法操作 Ext.onReady(function(){ var pbar=new Ext.ProgressBar({ id:'pbar', width:300, renderTo:Ext.getBody() }); pbar.wait({ interval:100, increm原创 2013-02-28 14:34:23 · 742 阅读 · 0 评论 -
Ext.MessageBox
这是一个简单的messagebox,如有建设意见请留言,谢谢 Ext.onReady(function(){ Ext.MessageBox.alert('提示','你好ExtJs'); Ext.Msg.show({ title:'提示', msg:'此操作无法回退,是否继续', buttons:Ext.Msg.YESN原创 2013-02-28 13:56:38 · 570 阅读 · 0 评论 -
Ext动态主题切换
//关键点 Ext.onReady(function(){ var win=new Ext.Window({ title:'切换主题', width:600, height:400, renderTo:Ext.getBody(), bbar:[{ text:'切换主题', h原创 2013-02-28 11:10:43 · 613 阅读 · 0 评论 -
Ext 进度条Ajax取值
Ext.onReady(function(){ var pbar= new Ext.ProgressBar({ id:'pbar', width:300, value:100, renderTo:Ext.getBody() }); var task={ run:function(){ Ext.Ajax.request({原创 2013-02-28 15:27:58 · 617 阅读 · 0 评论