extreme table

eXtremeTable中文文档.pdf 立即下载
转载自:http://youlong05.iteye.com/blog/37726
  1. 一、简介  
  2. Extreme Table是最功能强大而又容易配置,扩展,自定义的Table 控件。  
  3. 最主要的功能包括排序, 分页, 导出Excel, pdf和汇总  
  4.   
  5. 官方网站:  
  6. http://www.extremecomponents.org  
  7. ExtremeTable自带的文档:  
  8. http://extremecomponents.org/wiki/index.php/Main_Page  
  9. Luck翻译的ExtremeTable官方文档中文版:  
  10. http://extremecomponents.org/wiki/index.php/Simplified_Chinese  
  11.   
  12. 二、简单示例  
  13. 1,将extremecomponents.jar丢入WEB-INF/lib  
  14. 2,将SpringSide与ec的相关images丢入/resources/images/table  
  15. 3,将SpringSide的extremecomponents.css丢入/resources/css  
  16. 4,将SpringSide的extremetable.properties丢入classpath,如src-conf/table  
  17. 5,extremecomponents.css:  
  18. /*ExtremeTable专用Style*/  
  19. .eXtremeTable {  
  20. margin: 0;  
  21. padding: 0;  
  22. }  
  23.   
  24. .eXtremeTable select {  
  25. font-family: verdana, arial, helvetica, sans-serif;  
  26. font-size: 12px;  
  27. border: solid 1px #EEE;  
  28. width: 75px;  
  29. }  
  30.   
  31. .eXtremeTable .tableRegion {  
  32. border: 1px solid #AAC2D9;  
  33. padding: 2px;  
  34. font-size: 12px;  
  35. margin-top: 7px;  
  36. }  
  37.   
  38. .eXtremeTable .filter {  
  39. background-color: #F4F4F4;  
  40. }  
  41.   
  42. .eXtremeTable .title {  
  43. color: #1a7cdf;  
  44. vertical-align: middle;  
  45. font-size: 18px;  
  46. font-weight: bold;  
  47.   
  48. }  
  49.   
  50. .eXtremeTable .titleRow {  
  51. background-color: #F4F4F4;  
  52. }  
  53.   
  54. .eXtremeTable .titleRow td {  
  55. border-bottom: 1px solid #308dbb;  
  56. padding-top: 2px;  
  57. padding-bottom: 2px;  
  58. vertical-align: middle;  
  59. }  
  60.   
  61. .eXtremeTable .titleRow span {  
  62. color: #444444;  
  63. font-weight: bold;  
  64. font-size: 12px;  
  65. }  
  66.   
  67. .eXtremeTable .filter input {  
  68. font-size: 12px;  
  69. width: 100%;  
  70. }  
  71.   
  72. .eXtremeTable .filter select {  
  73. font-size: 9px;  
  74. border: solid 1px #EEE;  
  75. width: 100%;  
  76. }  
  77.   
  78. .eXtremeTable .tableHeader {  
  79. background-color: #308dbb;  
  80. color: white;  
  81. font-size: 12px;  
  82. font-weight: bold;  
  83. text-align: left;  
  84. padding-right: 3px;  
  85. padding-left: 3px;  
  86. padding-top: 4px;  
  87. padding-bottom: 4px;  
  88. margin: 0px;  
  89. border-right: 1px solid white;  
  90. background-image: url( "../images/tableTopbg.gif" );  
  91. }  
  92.   
  93. .eXtremeTable .tableHeaderSort {  
  94. background-color: #3a95c2;  
  95. color: white;  
  96. font-size: 12px;  
  97. font-weight: bold;  
  98. text-align: left;  
  99. padding-right: 3px;  
  100. padding-left: 3px;  
  101. padding-top: 4px;  
  102. padding-bottom: 4px;  
  103. white-space: nowrap;  
  104. border-right: 1px solid white;  
  105. background-image: url( "../images/tableTopbg.gif" );  
  106. }  
  107.   
  108. .eXtremeTable .odd a, .even a {  
  109. color: Black;  
  110. font-size: 12px;  
  111. }  
  112.   
  113. .eXtremeTable .odd td, .eXtremeTable .even td {  
  114. vertical-align: middle;  
  115. font-size: 12px;  
  116.   
  117. padding-right: 3px;  
  118. padding-left: 3px;  
  119. padding-top: 4px;  
  120. padding-bottom: 4px;  
  121. border-bottom: 1px solid #CADAE8;  
  122. border-right: 1px solid #DAE6EF;  
  123. }  
  124.   
  125. .eXtremeTable .odd {  
  126. background-color: #FFFFFF;  
  127. }  
  128.   
  129. .eXtremeTable .even {  
  130. background-color: #F8F8F8;  
  131. }  
  132.   
  133. .eXtremeTable .highlight td {  
  134. color: black;  
  135. font-size: 12px;  
  136. vertical-align: middle;  
  137. background-color: #fdecae;  
  138.   
  139. padding-right: 3px;  
  140. padding-left: 3px;  
  141. padding-top: 4px;  
  142. padding-bottom: 4px;  
  143. border-bottom: 1px solid #CADAE8;  
  144. border-right: 1px solid #DAE6EF;  
  145. }  
  146.   
  147. .eXtremeTable .highlight a, .highlight a {  
  148. color: black;  
  149. font-size: 12px;  
  150. }  
  151.   
  152. .eXtremeTable .toolbar {  
  153. background-color: #FFFFFF;  
  154. font-size: 12px;  
  155. border-right: 1px solid silver;  
  156. border-left: 1px solid silver;  
  157. border-top: 1px solid silver;  
  158. border-bottom: 1px solid silver;  
  159. }  
  160.   
  161. .eXtremeTable .toolbar td {  
  162. color: #444444;  
  163. padding: 0px 3px 0px 3px;  
  164. text-align: center;  
  165. }  
  166.   
  167. .eXtremeTable .separator {  
  168. width: 7px;  
  169. }  
  170.   
  171. .eXtremeTable .statusBar {  
  172. background-color: #FFFFFF;  
  173. font-size: 12px;  
  174. }  
  175.   
  176. .eXtremeTable .filterButtons {  
  177. background-color: #F4F4F4;  
  178. text-align: right;  
  179. }  
  180.   
  181. .eXtremeTable .title span {  
  182. margin-left: 7px;  
  183. }  
  184.   
  185. .eXtremeTable .formButtons {  
  186. display: block;  
  187. margin-top: 10px;  
  188. margin-left: 5px;  
  189. }  
  190.   
  191. .eXtremeTable .formButton {  
  192. cursor: pointer;  
  193. font-size: 12px;  
  194. font-weight: bold;  
  195. background-color: #308dbb;  
  196. color: white;  
  197. margin-top: 5px;  
  198. border: outset 1px #333;  
  199. vertical-align: middle;  
  200. }  
  201.   
  202. .eXtremeTable .calcRow {  
  203. background-color: #FFFFFF;  
  204. }  
  205.   
  206. .eXtremeTable .calcRow td {  
  207. background-color: #FFFFFF;  
  208. border-top: 1px solid #cccccc;  
  209. border-right: 1px solid #cccccc;  
  210. }  
  211.   
  212. .eXtremeTable .calcTitle {  
  213. font-weight: bold;  
  214. font-size: 12px;  
  215. }  
  216.   
  217. .eXtremeTable .calcResult {  
  218. font-size: 12px;  
  219. }  
  220. 6,extremetable.properties:  
  221. table.filterable=false  
  222. table.imagePath=/resources/images/table/*.gif 
  223. table.locale=zh_CN 
  224. table.view.html=org.extremecomponents.table.view.CompactView 
  225.  
  226. row.highlightRow=true 
  227.  
  228. column.format.date=yyyy-MM-dd 
  229. column.format.currency=###,###,###,###,#00.00 
  230. 7,以listBlog为例: 
  231. public void onList(HttpServletRequest request, 
  232. HttpServletResponse response, ModelAndView mav) throws Exception { 
  233. Limit limit = ExtremeTablePage.getLimit(request, defaultPageSize); 
  234. Page page = commonManager.findBy(Blog.class, null, 
  235. ExtremeTablePage.getSort(limit), limit.getPage(), 
  236. limit.getCurrentRowsDisplayed()); 
  237. mav.addObject("blogList", page.getResult()); 
  238. mav.addObject("totalRows", page.getTotalCount()); 
  239. } 
  240. 8,Page和上面介绍pager时的Page类一样 
  241. 9,ExtremeTablePage: 
  242. package com.itone.hibernate.util; 
  243.  
  244. import java.util.HashMap; 
  245. import java.util.Map; 
  246.  
  247. import javax.servlet.http.HttpServletRequest; 
  248.  
  249. import org.extremecomponents.table.context.Context; 
  250. import org.extremecomponents.table.context.HttpServletRequestContext; 
  251. import org.extremecomponents.table.limit.Limit; 
  252. import org.extremecomponents.table.limit.LimitFactory; 
  253. import org.extremecomponents.table.limit.Sort; 
  254. import org.extremecomponents.table.limit.TableLimit; 
  255. import org.extremecomponents.table.limit.TableLimitFactory; 
  256.  
  257. import com.itone.common.support.Constants; 
  258.  
  259. /** 
  260. * 辅助ExtremeTable获取分页信息的Util类 
  261. * 
  262. * @author calvin 
  263. */  
  264. public class ExtremeTablePage {  
  265.   
  266. static public Limit getLimit(HttpServletRequest request) {  
  267. return getLimit(request, Constants.DEFAULT_PAGE_SIZE);  
  268. }  
  269.   
  270. /** 
  271. * 从request构造Limit对象实例. 
  272. * Limit的构造流程比较不合理,为了照顾export Excel时忽略信息分页,导出全部数据 
  273. * 因此流程为程序先获得total count, 再使用total count 构造Limit,再使用 
  274. limit中的分页数据查询分页数据 
  275. * 而SS的page函数是在同一步的,无法拆分,再考虑到首先获得的totalCount 
  276. */  
  277. static public Limit getLimit(HttpServletRequest request, int defautPageSize) {  
  278. Context context = new HttpServletRequestContext(request);  
  279. LimitFactory limitFactory = new TableLimitFactory(context);  
  280. TableLimit limit = new TableLimit(limitFactory);  
  281. limit.setRowAttributes(1000000000, defautPageSize);  
  282. return limit;  
  283. }  
  284.   
  285. /** 
  286. * 将Limit中的排序信息转化为Map{columnName,升序/降序} 
  287. */  
  288. static public Map getSort(Limit limit) {  
  289. Map sortMap = new HashMap();  
  290. if (limit != null) {  
  291. Sort sort = limit.getSort();  
  292. if (sort != null && sort.isSorted()) {  
  293. sortMap.put(sort.getProperty(), sort.getSortOrder());  
  294. }  
  295. }  
  296. return sortMap;  
  297. }  
  298. }  
  299. 10,commonManager.findBy(args)用到SpringSide的BaseHibernateDao并有扩展:  
  300. public Page findBy(Class clazz, Map filterMap, Map orderMap, int pageNo, int  
  301. pageSize, CriteriaSetup criteriaSetup) {  
  302.   
  303. Criteria criteria = null;  
  304.   
  305. if(clazz == null) {  
  306.   
  307. criteria = getSession().createCriteria(getEntityClass());  
  308.   
  309. } else {  
  310.   
  311. criteria = getSession().createCriteria(clazz);  
  312.   
  313. }  
  314.   
  315. if (!CollectionUtils.isEmpty(filterMap)) {  
  316. try {  
  317. criteriaSetup.setup(criteria, filterMap);  
  318. } catch (Exception e) {  
  319. }  
  320. }  
  321.   
  322. if (!CollectionUtils.isEmpty(orderMap))  
  323. sortCriteria(criteria, orderMap, null);  
  324.   
  325. criteria.setResultTransformer(CriteriaSpecification.ROOT_ENTITY);  
  326.   
  327. return pagedQuery(criteria, pageNo, pageSize);  
  328. }  
  329. 11,listBlog.jsp:  
  330. <%@ taglib prefix="ec" uri="http://www.extremecomponents.org%>  
  331. <link href="/resources/css/extremecomponents.css" rel="stylesheet"  
  332. type="text/css">  
  333. <ec:table  
  334. var="blog"  
  335. items="blogList"  
  336. action="/blog.do"  
  337. retrieveRowsCallback="limit"  
  338. sortRowsCallback="limit"  
  339. rowsDisplayed="10">  
  340. <ec:row>  
  341.   
  342. <ec:column property="name" title="博客名称"/>  
  343.   
  344. <ec:column property="user.name" title="博客作者" alias="userName"/>  
  345.   
  346. <ec:column property="description" title="描述"/>  
  347.   
  348. <ec:column property="edit" title="操作" sortable="false" viewsAllowed="html">  
  349.   
  350. <a href="blog.do?method=edit&id=${blog.id}">  
  351.   
  352. 编辑  
  353.   
  354. </a>  
  355.   
  356. </ec:column>  
  357. </ec:row>  
  358. </ec:table>  
  359. 12,web.xml  
  360. <context-param>  
  361. <param-name>extremecomponentsPreferencesLocation</param-name>  
  362. <param-value>/table/extremetable.properties</param-value>  
  363. </context-param> 

eXtremeTable中文文档 立即下载

相关推荐

Spine动画在Unity里卡顿、闪烁、排序错乱?这些性能优化与渲染问题一次讲清

本文深入解析了Spine动画在Unity中常见的卡顿、闪烁和排序错乱问题,提供了全面的性能优化与渲染解决方案。从性能瓶颈诊断到材质合并、动态合批优化,再到层级错乱与Alpha闪烁的处理,帮助开发者提升动画表现和运行效率。特别针对Unity和Spine的协同工作进行了详细的技术探讨。

weixin_29967445的博客 387

功能强大的 eXtreme Table 使用

eXtreme Table 说明  eXtreme Table 是ExtremeCompontents(http://extremecomponents.org或http://sourceforge.net/projects/extremecomp/)中一个功能强大而又容易配置、扩展、自定义的Table控件,其功能包括分页、排序、过滤、导出Excel、pdf和汇总等。  扩展eXtreme T

兰染 6144

Rider高效调试UE引擎:无需编译源码的符号配置指南

本文提供了一份详尽的Rider高效调试UE引擎指南,核心在于无需编译源码即可配置调试符号。通过Epic启动器下载官方PDB文件,并在Rider中正确配置外部符号服务器路径,开发者能在10分钟内实现对引擎内部代码(如AActor::Tick)的源码级断点调试、变量查看和调用堆栈分析,极大提升问题排查效率。

weixin_29011239的博客 347

扩展eXtremeTable的属性

扩展eXtremeTable的属性 1.简介eXtremeTable是目前流行的优秀分页组件之一,和 Displsytag,ValueList相比,即美观又使用。在介绍eXtremeTable之前先了解一下eXtremeComponents,它是一系列的开源的jsp自定义标签库,eXtremeTable是它中的一个功能强大而又容易配置、扩展、自定义的组件

阿义的专栏 1178

Carla自动驾驶仿真一:快速安装与运行Carla

网上有不少的Windows版本的Carla的安装教程,这里简单记录下自己安装过程,写的也比较详细,基本不用看其他文章。

zataji的博客 2万+

linux系统宝塔服务器temp文件夹里总是被上传病毒php脚本

服务器时不时的会发送短信说你服务器有病毒,找到了这个tmp文件,删除了之后又有了。确实是有很多人就这么无聊,每天都攻击你的服务器。找了很久的原因,网上也提供了一大堆方法,但都是很简陋的答案,具体怎么操作并没有说。没办法只能自己去排查这个问题。从两个角度来考虑,第一是服务器系统问题,比如宝塔的漏洞。但一时半会看不出问题来。只能去排查自己的项目代码。最后了解到代码确实是存在漏洞的。但代码中也确实了很多的校验,为什么会存在漏洞了?这就不得不从上传的过程开始说起。

guiplan 1499

ExtremeTable

0.概述    Home Page:http://www.extremecomponents.org      Extreme Table是最功能强大而又容易配置,扩展,自定义的Table 控件。     最紧要的功能包括排序, 分页, 导出Excel, pdf和汇总。     springside的best 示例代码在: listBook.jsp和listOrder.jsp.

Bob@CSDN 1132

MATLAB GUI 水果成熟度分级系统设计与实现

本文基于 MATLAB GUI 设计并实现了一款水果成熟度分级系统,能够准确地评估水果的成熟程度。在实现过程中,我们运用了 MATLAB 中的函数实现对图像的处理和分析,同时使用 GUI 界面增加了系统的易用性。值得一提的是,在实际操作中,我们应该结合实际需求对系统进行相应的改进与完善,以满足不同领域和应用场景下的需求。实验结果表明,本系统可以有效地检测出水果的成熟度,并对其进行精准的评分。因此,本文设计并实现了一款基于 MATLAB GUI 的水果成熟度分级系统。三、MATLAB 代码实现。

uote_e的博客 711

eXtremeTable的使用方法

1.简介eXtremeTable是目前流行的优秀分页组件之一,和 Displsytag,ValueList相比,即美观又使用。在介绍eXtremeTable之前先了解一下eXtremeComponents,它是一系列的开源的jsp自定义标签库,eXtremeTable是它中的一个功能强大而又容易配置、扩展、自定义的组件。它是以表格的形式来显示数据,具有分页组件应具有的大部分功能,比如:设定每页显示

evanerv0079的专栏 1889

42页Claude 3技术报告解读(Opus, Sonnet, Haiku)

在Claude 3模型中,增加了一个额外的原则到Claude的宪法中,以鼓励尊重残疾人权利,这一原则源自对集体宪法AI的研究。Claude 3模型的训练基于专有的混合数据集,包括截至2023年8月互联网上公开可用的信息,以及第三方提供的非公开数据、数据标注服务和付费承包商提供的数据,还有内部生成的数据。这些初始响应通常包含有害和有毒的内容。Claude 3模型家族在推理、编码和问答任务上展现出卓越的性能,特别是在行业标准基准测试中取得了显著的提升,证明了其在处理复杂问题和提供准确答案方面的能力。

具身机器人和通用AI 2450

PCL点云八叉树体素中心下采样,体素包含点索引提取

基于PCL octree实现点云八叉树计算,支持提取体素中心点进行点云下采样;根据任一点坐标,可以得到其在八叉树中的位置,输出对应体素内其余点的坐标或者索引

qq_48694523的博客 464

Extreme Table简介及使用

Home Page:http://www.extremecomponents.org      Extreme Table是最功能强大而又容易配置,扩展,自定义的Table 控件。      最紧要的功能包括排序, 分页, 导出Excel, pdf和汇总。      springside的best 示例代码在: listBook.jsp和listOrder.jsp. 基础读物:

HiAllan的专栏 1046

YOLOv11改进策略【卷积层】| 引入注意力卷积模块RFAConv,关注感受野空间特征 助力yolov11精度提升

RFAConv:创新空间注意力和标准卷积运算感受野空间特征是针对卷积核设计的,根据卷积核大小动态生成。以3×3卷积核为例,它由非重叠滑动窗口组成,每个窗口代表一个感受野滑块。

Limiiiing的博客 1829

extreme Table 使用

转自:http://www.springside.org.cn/docs/reference/ExtremeTable.htm 江南白衣      0.概述     Home Page:http://www.extremecomponents.org      Extreme Table是最功能强大而又容易配置,扩展,自定义的Table 控件。      最紧要

MK259的专栏 786

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

eXtreme Table 说明

Extreme Table 的使用->JSP页面显示 eXtreme Table 说明 ================== eXtreme Table 是ExtremeCompontents()中一个功能强大而又容易配置、扩展、自定义的Table控件,其功能包括分页、排序、过滤、导出Excel、pdf和汇总等。 扩展eXtreme Table:extremetable-ext.j

yesterday you said tomorrow 800

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

eXtreme Table 的基本用法及配制

2019独角兽企业重金招聘Python工程师标准>>> ...

weixin_34415923的博客 173

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

jsp标签库——eXtreme Table

基于上篇的环境,现在实现了这样一个小demo:         查询用户,显示用户信息。看看是如何利用eXtremeTable做数据显示的吧。

1321

Extreme Table 的使用->JSP页面显示

eXtreme Table 说明 ================== eXtreme Table 是ExtremeCompontents(http://extremecomponents.org)中一个功能强大而又容易配置、扩展、自定义的Table控件,其功能包括分页、排序、过滤、导出Excel、pdf和汇总等。 扩展eXtreme Table:extremetable-ext.jar是我们自己...

蝈蝈的技术博客 258

jsp标签库——eXtreme Table介绍及配置

开源jsp标签库,使用最多的就是jstl,一般都是用jstl+el来做数据显示,有没有想过,还有没有其他标签库可以代替jstl? 查了一下jsp标签库,http://www.open-open.com/15.htm,怎么样?很多吧,使用过或者了解其中的几种?

2766
上一篇: web.xml 中的listener、 filter、servlet 加载顺序及其详解
下一篇: 遍历json获得数据的几种方法
xiaocai16
博客等级 码龄15年 14粉丝 5原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值