- 博客(13)
- 资源 (6)
- 收藏
- 关注
原创 sql in =
select * from data_analyze_report where report_code in (select report_code from data_analyze_report_title where user_id = 1 and report_type = DAY and to_date(2011-04-13, yyyy-mm-dd
2011-06-27 10:37:00 560
原创 pgsql 日期类型比较
select * from data_analyze_report where report_code = (select report_code from data_analyze_report_title where server_uuid = 6c9abd37-8bd8-472e-a974-7d0ea3f1a9c6 and report_type = DAY and to_da
2011-06-24 16:33:00 6572 1
原创 扩展easyui 功能-datebox
datebox setValue与setText是一样的,都是设置的是字面值,这样在使用的时候很不方便,通过扩展setDate,getDate来直接操作date,将更容易 $.extend($.fn.datebox.methods,{ //value 存储long,Text存字面值,date放置在calendar内 setDate:function(elements,date)
2011-06-22 17:27:00 5043 1
原创 strut2 解决乱码终极方法。
private String reportCode; public void setReportCode(String reportCode) { try { this.reportCode = new String(reportCode.getBytes("iso-8859-1"),"utf-8"); } catch
2011-06-21 10:35:00 861
原创 工作手记。
$(#reporttype).combobox(getValue)得到的 不是 string ,,需要 转化为 string才行,。哎。,搞了很久才想起这个。,。、,
2011-06-17 16:33:00 522
原创 postgresql和mysql中的limit使用方法
在对数据进行分页时,我们经常需要在sql语句中使用limit。在msyql中,limit使用如下select *from mytable limit a,ba为起始值,从0开始,b为获取数据长度在查看有关“postgresql”的文章">postgresql中,limit使用如下select *from mytable limit a offset bb为起始值,a为获取数据长度postgresq
2011-06-16 15:06:00 4500 1
原创 struts2.1.8不认jsonplugin插件解决办法
java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/Object;)Ljava/lang/Object;java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.TextUtilsstruts2.
2011-06-14 13:30:00 1824 2
原创 struts2 easyui插件pagination to DataGrid
测试通过struts2 jquery pagination to DataGrid实例。官网使用的是etmvc,很新,功能看的不错,但是真正开发中应该很少有人会愿意在自己的项目中去冒这个险吧,并不是说etmvc不好,只是大多数都会报有一种观望的态度来对待新事物。所以使用struts2配合easyui。 那首先要解决的就是struts2对json
2011-06-14 12:36:00 3814
原创 JQUERY EASYUI 分页(PAGINATION)用法
在web开发中,经常会遇到分页的需求,如果靠我们手写代码,可能代码又多 ,样式又不好看,下面介绍一下jQuery easyUI 分页功能,非常的方便简单,下面看一下效果图: HTML代码 然后按照《jQuery EasyUI框架使用文档》包含必要文件后,只要在$(function(){ }); 里插入下面的代码即可: $(#pp).pagination(options); 下面来介绍Pag
2011-06-14 11:16:00 35204 7
原创 JQuery easyui Datagrid 分页事件
easyui是Jquery中的一个轻量级UI插件,提供了一些诸如window、datagrid、button等控件。现在主要说说Datagrid中分页控件的使用。easyui中可以单独添加分页pagination控件,也可以在datagrid中添加paginatio控件。如在datagrid中添加分页控件:view plaincopy to clipboardprint?$(#t
2011-06-14 11:10:00 32066
原创 jquery easyui combobox change事件,,,
$(#reporttype).combobox({ onChange : function(n,o){alert(n);} }); 要先得到 combobox对象,而不是一般的 jquery对象、。、。
2011-06-13 11:21:00 24529 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人