<ec:table action="sjzc/tbWaterproject!list.do" items="objList" var="tbWaterproject"

imagePath="${STYLE_PATH}/images/table/*.gif" retrieveRowsCallback="limit">
<ec:exportXls fileName="tbWaterproject.xls" ></ec:exportXls>
<ec:row>
<ec:column property ="rowCount" cell ="rowCount" sortable ="false" title="序号" style="text-align:center" />
<ec:column property="wyear" title="年份" style="text-align:left">
${tbWaterproject.wyear}
</ec:column>
<ec:column property="wquarter" title="季度" style="text-align:left">
${tbWaterproject.wquarter}
</ec:column>
<ec:column property="citycode" title="城市" style="text-align:left">
${districtMap[tbWaterproject.citycode]}${districtMap[tbWaterproject.countycode]}
</ec:column>
<%-- <ec:column property="countycode" title="区/县" style="text-align:left">

</ec:column> --%>
<ec:column property="deptid" title="部门" style="text-align:left">
${departmentsMap[tbWaterproject.deptid]}
</ec:column>
<ec:column property="deptid" title="是否超标" style="text-align:left">
<c:if test="${tbWaterproject.isfull=='T'}">

</c:if>
<c:if test="${tbWaterproject.isfull=='F'}">

</c:if>
</ec:column>
<ec:column property="rn" title="按新标准,<br>修正后公共供水管网基本漏损率(%)Rn" style="text-align:left">
${tbWaterproject.rn}
</ec:column>
<ec:column property="updatetime" title="更新时间" style="text-align:left">
<fmt:formatDate value='${tbWaterproject.updatetime}' pattern='yyyy-MM-dd HH:mm:ss'/>
</ec:column>
<ec:column property="opt" title="操作" sortable="false" style="text-align:center">
<c:if test="${ requestScope.usercode == tbWaterproject.usercode}">
<a href='sjzc/tbWaterproject!edit.do?wid=${tbWaterproject.wid}&ec_p=${ec_p}&ec_crd=${ec_crd}' >编辑</a>
<a href='sjzc/tbWaterproject!delete.do?wid=${tbWaterproject.wid}' onclick='return confirm("确定删除该供水填报信息?");'>删除</a>
</c:if>
<a href='sjzc/tbWaterproject!view.do?wid=${tbWaterproject.wid}&ec_p=${ec_p}&ec_crd=${ec_crd}'>查看</a>
</ec:column>
</ec:row>
</ec:table>

一个简单的流程通常是这样的:
1、客户端请求action/servlet。
2、action接受到请求后,调用相应的BO/dao,执行取列表数据的方法 。
3、取得数据后(通常是一个vo/map的list),将数据放入request内(使用requset.setAttribute(key,value)方法。
4、将请求forward到使用ECSide标签的jsp页面。
5、ECSide将展现出列表。
---------------------
作者:我想静静525
来源:CSDN
原文:https://blog.csdn.net/lycyl/article/details/47752741?utm_source=copy
版权声明:本文为博主原创文章,转载请附上博文链接!

items:设置要展现的数据对应的集合在内存中存放时使用的名字

var:设置指向数据迭代中的当前记录所对应的bean(是JavaBean)的变量的名称

retrieveRowsCallback:指定列表所使用的分页机制.值可以是自定义的完整的callback类名,也可以是在properties文件内指定的简称  (action里设置好,返回时返回所需要显示的)

最新文章

  1. 数据库DBA(3年以内需求)
  2. centos 6.5 git 服务器的配置(入门级)
  3. BZOJ 1831 &amp; 就是一个DP....
  4. centos7 安装webmin
  5. Best Cow Fences_二分&amp;&amp;DP
  6. Save a bricked Samsung Note 3 and do extraction
  7. SOA之(2)——SOA架构基础概念与设计框架
  8. scp 在不同主机之间数据传输
  9. 2014-08-26 解决HttpContext.Current.Session在ashx文件中出现“未将对象引用设置到对象的实例”的问题
  10. SQL Server带游标的SQL
  11. DirectX:在graph自动连线中加入自定义filter(graph中遍历filter)
  12. CI持续集成系列之(九)代码发布脚本模板书写
  13. CentOS6.5 安装并配置vsftpd
  14. mongoDB 安装和配置环境变量,超详细版本
  15. c++ 日志输出库 spdlog 简介(2)
  16. ansible 快速入门
  17. Codeforces 868C Qualification Rounds - 位运算
  18. AOP 和 前置通知,后置通知
  19. 8.3Solr API使用(StatsComponent聚合统计)
  20. Gitlab-使用其它API资源

热门文章

  1. Linux源码包安装程序
  2. Springboot项目启动后访问不到Controller
  3. oracle 12 c 创建表空间,用户名,及表
  4. xaf 如何添加logo信息
  5. 初步接触gulp
  6. SQL Pretty Printer for SSMS 很不错的SQL格式化插件
  7. centos版本位数查看
  8. win10释放的wifi热点手机连不上
  9. element-- 修改MessageBox 弹框 中确定和取消按钮顺序
  10. VM Linux版本安装