01 2014 档案
摘要:Ext 表单text 后带* 属性 afterLabelTextTpl : requiredTpl Ext 表单 性别 xtype : 'radiogroup', fieldLabel : '性别', items : [ { xtype : 'radiofield', inputValue : '男', name : 'xingbie', checked : true, boxLabel : '男' }, { xtype : 'radiofield', ...
阅读全文
摘要:在windows中创 建一个名为“NLS_LANG”的系统环境变量,设置其值为“SIMPLIFIED CHINESE_CHINA.ZHS16GBK”,然后重新启动 pl/sql developer,这样检索出来的中文内容就不会是乱码了。如果想转换为UTF8字符集,可以赋予“NLS_LANG”为 “AMERICAN_AMERICA.UTF8”,然后重新启动 pl/sql developer。其它字符集设置同上
阅读全文
摘要:Ext.Ajax.request({//请求地址url: 'login.do',//提交参数组params: {LoginName:Ext.get('LoginName').dom.value,LoginPassword:Ext.get('LoginPassword').dom.value},//成功时回调success: function(response, options) {//获取响应的json字符串var responseArray = Ext.util.JSON.decode(response.responseText); //取到J
阅读全文
摘要:Date date = adoptinfo.getTongjiriqi(); //获取提交的时间 Calendar ca = Calendar.getInstance(); //时间控件 ca.setTime(date); int year=ca.get(Calendar.YEAR);//获取年 int month=ca.get(Calendar.MONTH);//获取月份 int month=ca.get(Calendar.DAY_OF_MONTH);//获取几月几日对指定时间的操作。
阅读全文

浙公网安备 33010602011771号