extremeComponents Table组件快速使用方法
来源:互联网 发布:博思智慧平台c语言答案 编辑:程序博客网 时间:2024/04/30 04:56
extremeComponents Table组件快速使用方法
1、在/WEB-INF/tld/下拷贝入extremecomponents.tld文件
2、项目中加入extremecomponents-1.0.1.jar文件(拷入/WEB-INF/lib/目录)
3、web.xml加入:
<jsp-config>
<taglib>
<taglib-uri>/WEB-INF/tld/extremecomponents.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/extremecomponents.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/tld/c.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
</jsp-config>
<taglib>
<taglib-uri>/WEB-INF/tld/extremecomponents.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/extremecomponents.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/tld/c.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
</jsp-config>
4、jsp页代码:
<%@ page language="java" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/tld/extremecomponents.tld" prefix="ex" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ResourceList.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/extable.css"/>"/>
<script type="text/javascript" src="<c:url value="/script/extable.js"/>"/>
</head>
<body>
<h1>资源列表</h1>
<ex:table
items="resources" //从request.getAttribute("resources")中获得
action="${pageContext.request.contextPath}/action/manager/usermanager/resourceList" //会在排序筛选时使用到
imagePath="${pageContext.request.contextPath}/images/table/*.gif "
title="资源"
width="90%"
rowsDisplayed="10" //每页显示行数
filterable="false" //是否使用过滤
>
<ex:row highlightRow="true">
<ex:column property="id" title="标识"/> //列(字段)名称(首字母小写)
<ex:column property="name" title="名称"/>
<ex:column property="resType" title="资源类型"/>
<ex:column property="resString" title="资源字符串"/>
<ex:column property="descn" title="描述"/>
</ex:row>
</ex:table>
</body>
</html>
<%@ taglib uri="/WEB-INF/tld/extremecomponents.tld" prefix="ex" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ResourceList.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/extable.css"/>"/>
<script type="text/javascript" src="<c:url value="/script/extable.js"/>"/>
</head>
<body>
<h1>资源列表</h1>
<ex:table
items="resources" //从request.getAttribute("resources")中获得
action="${pageContext.request.contextPath}/action/manager/usermanager/resourceList" //会在排序筛选时使用到
imagePath="${pageContext.request.contextPath}/images/table/*.gif "
title="资源"
width="90%"
rowsDisplayed="10" //每页显示行数
filterable="false" //是否使用过滤
>
<ex:row highlightRow="true">
<ex:column property="id" title="标识"/> //列(字段)名称(首字母小写)
<ex:column property="name" title="名称"/>
<ex:column property="resType" title="资源类型"/>
<ex:column property="resString" title="资源字符串"/>
<ex:column property="descn" title="描述"/>
</ex:row>
</ex:table>
</body>
</html>
- extremeComponents Table组件快速使用方法
- extremeComponents Table组件快速使用方法
- JS组件Bootstrap Table使用方法详解
- eXtremeComponents
- eXtremeComponents
- eXtremeComponents
- ElementUI Table公共组件,快速完成table功能搭建
- [Apache Click快速开发]Click的多彩table组件
- El Table的使用方法
- ios table使用方法
- TABLE CONTROL使用方法
- Table使用方法小结
- pt-table-checksum 使用方法
- pt-table-sync 使用方法
- Bootstrap table的使用方法
- eXtremeComponents FAQ
- eXtremeComponents指南
- eXtremeComponents指南
- php效果字
- 很好用的日历控件(calendar)
- ASP.NET 调味品:AJAX
- .net function
- 在Apache环境下成功的运行ASP.NET
- extremeComponents Table组件快速使用方法
- C#中的值类型及装箱
- 如何使用CTabCtrl来实现多页面属性对话框?
- Symbian OS Error Codes
- 在一段字符串中另一字符串出现的指定的位置插入文字
- 有个好心情才会有好的状态
- Delegate比较全面的例子
- 委托:一个C#睡前故事
- 利用asp将数据写入到新的excel文件中