efa's blog

以用户角度出发,你就已经成功一半了.

导航

<2005年8月>
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910

统计

常用链接

留言簿(18)

我参与的团队

随笔分类

随笔档案

文章分类

文章档案

Bi report

dba

info security

other

perl

php

python

tech blogs

tech websites

最新随笔

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜

也来介绍一下 extremeTable


1、何为 extremeTable,又一个开源taglib
      extremeTable,开源的jsp 自定义标签,以表格的形式显示数据,当前最新版本为 1.0.1-M1.
它是一个类似display tag,valueList 等开源产品.
homepage: http://extremecomponents.org/
download: http://sourceforge.net/projects/extremecomp/

开源产品作者:
Jeff Johnston ,现居住美国,圣路易斯.
                六年web应用软件开发经验,eXtremeComponents最初的创建者. 负责设计及大部分的编码。

其它还包括Paul Horn ,eXtremeTree的技术设计, 以及大部分的编码;
Dave Goodin,Brad Parks等.

主要特色
1、导出EXCEL以及pdf无需再另写jsp(这个基本与valuelist作比较,因为以前用valueList的时候每写一个table都要再写一个excel.jsp)
2、扩展性比较强,基本上想怎样改就怎样改,对jar影响比较少。
3、另外据官方声称有以下四点

  • Fast ( 本人曾小测一次,三千纪录情况下,效率基本与valuelist持平)
  • Efficient
  • Easy ( 得确很容易使用与理解加扩展)
  • Reliable

    安装要求
    1、Servlet 2.3 或更高
    2、 JDK 1.3.1 或更高

    最小的Jars需求
    1、commons-beanutils 1.6
    2、commons-collections 3.0
    3、 commons-lang 2.0
    4、 commons-logging 1.0.4
    5、 standard 1.0.2

    PDF 导出要用到的包:
    1、 avalon-framework 4.0
    2、batik 1.5-fop-0.20-5
    3、 fop 0.20.5
    4、 xalan 2.5.1
    5、 xercesImpl 2.6.1
    6、 xml-apis 2.0.2
    XLS 导出要用到的包:
    1、 poi-2.5.1.jar


    2、安装与测试

    下载解压到的主要文件包括

    [1]src源文件
    [2]extremecomponents.jar以及其它所依赖的包

    [3]tld文件
    extremecomponents.tld

    [4]一组默认样式及图片
    extremecomponents.css

    [5]用以校验安装的测试页面
    test.jsp

    [6]doc文档,比较详细

    快速配置安装
    web app目录结构
    /ROOT
         /WEB-INF/web.xml
            /tld/extremecomponents.tld
               /lib
               /classes/extremecomponents.properties
                       [extremecomponents.properties文件可到source\org\extremecomponents\table\core\中得到]
          /images/*.jpg [一组默认样式及图片]
          /css/extremecomponents.css
          /test.jsp
          /index.jsp [用于学习以及扩展测试用代码请见下]
        

    web.xml 配置
    包括taglib uri 定义以及导出文件filter,由于只是手板功夫,这里就略过了,相关代码如下:

    <taglib>
    <taglib-uri>/tld/extremecomponents</taglib-uri>
    <taglib-location>/WEB-INF/tld/extremecomponents.tld</taglib-location>
    </taglib>

    <filter>
    <filter-name>eXtremeExport</filter-name>
    <filter-class>org.extremecomponents.table.filter.ExportFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>eXtremeExport</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>


    配置好所有后,开tomcat,测试浏览http://your_web_app/test.jsp,看到

    Congratulations!! You have successfully configured eXtremeTable!
    恭喜你,这表示安装成功!


    3、动手学习这个taglib
    建index.jsp页面,修改代码如下

    <%@ page contentType="text/html;charset=GBK"%>
    <%@ page import="java.util.*"%>
    <%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
    <!-- 在本页要用到jstl-->
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <!--使用include的方式-->
    <link rel="stylesheet" type="text/css" href="<c:url value="/extremecomponents.css"/>">

    <%
        List goodss 
    = new ArrayList();
        
    for (int i = 1; i <= 10; i++)
        
    {
            Map goods 
    = new java.util.HashMap();
            goods.put(
    "code""A00"+i);
            goods.put(
    "name""面包"+i);
            goods.put(
    "status""A:valid");
            goods.put(
    "born"new Date());
            goodss.add(goods);
        }

        request.setAttribute(
    "goodss", goodss);
    %>
    <ec:table
     collection
    ="goodss"
        action
    ="${pageContext.request.contextPath}/test.jsp"
        imagePath
    ="${pageContext.request.contextPath}/images/*.gif"
        cellpadding
    ="1"
        title
    ="my bread">
    <ec:column property="code"/>
    <ec:column property="name"/>
    <ec:column property="status"/>
    <ec:column property="born" cell="date" format="yyyy-MM-dd"/>
    </ec:table>



    效果如下:
    ec1.jpg


    [1] 1.0.1-M1 版支持国际化
    修改web.xml文件增加

    <context-param>
       
    <param-name>extremecomponentsResourceBundleLocation</param-name>
       
    <param-value>com.itorgan.tags.extreme.extremetableResourceBundle</param-value>
    </context-param>



    意指到 com.itorgan.tags.extreme 下找 extremetableResourceBundle_[language]_[country].properties 文件

    extremetableResourceBundle_en_US.properties代码如下
    table.statusbar.resultsFound={0} results found, displaying {1} to {2}
    table.statusbar.noResultsFound=There were no results found.
    table.toolbar.showAll=Show All

    extremetableResourceBundle_zh_CN.properties如下.
    table.statusbar.resultsFound={0} \u6761\u7EAA\u5F55\u7B26\u5408\u6761\u4EF6, \u73B0\u5728\u662F\u7B2C {1} \u81F3 {2} \u6761\u7EAA\u5F55
    table.statusbar.noResultsFound=\u6CA1\u6709\u8981\u67E5\u8BE2\u7684\u7EAA\u5F55\u3002
    table.toolbar.showAll=\u6240 \u6709

    补充:中文 - > Unicode编码 可通过反编译class文件或用native2ascii命令得到 。

    然后在table标签中增加locale属性即可切换

    <ec:table
        ………………
        ………………
        ………………
        locale
    ="en_US"
    >

    <ec:table
        ………………
        ………………
        ………………
        locale
    ="zh_CN"
    >


    [2] 保留table的上一次状态
          是指,不管跳转到另一个后再返回,extremeTable会将之前的Filter,Sort参数保存到session中,以至返回看到的页面还是之前的状态.
    实现操作方法:
    修改extremecomponents.properties文件
    table.useSessionFilterSortParam=foo
    saveFilterSort="true" 注意:saveFilterSort="true"不能在properties文件中配置,只能在页面中设

     <ec:table
        ……………………
        saveFilterSort
    ="true"
    /ec:table>
    <a href="1.jsp">跳到</a>

    新建一页面用于跳转的页面 1.jsp
    代码为

    <a href="test.jsp?foo=true">Back</a>


    [3] 样式修改
    基本的HTML结构

    <div class="eXtremeTable" >
    <table border="0"  cellpadding="0"  cellspacing="0"  width="100%" >
        
    <tr>
            
    <td class="title" ><span><!--标题--></span></td>
            
    <td align="right" >
            
    <table border="0"  cellpadding="0"  cellspacing="1"  class="toolbar" >
                
    <tr>
          
    <form name="pres_toolbar"  action="/extremesite/public/demo/presidents.jsp" >
                
    <!--工具栏,包括上一页,下一页以及导出-->
                
    </tr>
                
    <tr> 
          
    </form>
                
    </tr>
            
    </table>
            
    </td>
        
    </tr>
    </table>

    <table id="pres"  border="0"  cellspacing="2"  cellpadding="0"  width="100%"  class="tableRegion" >
        
    <tr>
            
    <td colspan="6" >
            
    <table border="0"  cellpadding="0"  cellspacing="0"  width="100%" >
                
    <tr>
                    
    <td class="statusBar" >43 results found, displaying 1 to 12 </td>
                    
    <td class="filterButtons" ></td>
                
    </tr>
            
    </table>
            
    </td>
        
    </tr>        

    <form name="pres_filter"  action="/extremesite/public/demo/presidents.jsp" >
        
    <tr class="filter"  id="filter" >
            
    <!--过滤条件的input框-->
        
    </tr>
    </form>
        
    <tr>
            
    <!--tableHead-->
        
    </tr>
        
    <tbody class="tableBody" >
        
    <tr>
            
    <!--column-->
        
    </tr>
        
    </tbody>
    </table>
    </div>


    extremeTable支持样式快速切换.可自定的样式包括column 的td以及table的一些属性,例如cellpadding等,
    另本人发现,在properties中如下设置tableHeader的样式是不行的.不知道是否一个BUG
    table.headerClass=itoTableHeader
    table.headerSortClass=itoTableHeaderSort

    只能继承一个HeaderCell

    public class HeaderCell extends org.extremecomponents.table.cell.HeaderCell
    {
        
    public final static String TABLE_HEADER = "itoTableHeader";
        
    public final static String TABLE_HEADER_SORT = "itoTableHeaderSort";

    新的样式代码:

    <LINK REL="stylesheet" HREF="<c:url value="/style.css"/>" TYPE="text/css">
     <ec:table
     collection="goodss"
        action="${pageContext.request.contextPath}/test.jsp"
        imagePath="${pageContext.request.contextPath}/images/*.gif"
        cellpadding="1"
        title="my bread"
        saveFilterSort="true"
        locale="zh_CN"
    >
    <ec:column property="code" title="编号" width="100" styleClass="GridTd"/>
    <ec:column property="name" title="名称" width="200" styleClass="GridTd"/>
    <ec:column property="status" title="状态" width="80" styleClass="GridTd"/>
    <ec:column property="born" title="生产日期" width="100" cell="date" format="yyyy-MM-dd" styleClass="GridTd"/>
    </ec:table>

    效果见下:
    ec[2].jpg

    [4] 实现 table width 自动累加
    原来的extremeTable 宽度要自己set。不会自动能过下面的column累加。
    本人作了个修改以达到自动累加,省得自己加写上去:
    查看htmlView.java 两处地方 
    toolbarPlacement
    tableStart可见两处地方要修改的


    [5] custom cell
    在properties文件中我们可观察到:

    table.cell_=display
    table.cell_currency=org.extremecomponents.table.cell.NumberCell
    table.cell_number=org.extremecomponents.table.cell.NumberCell
    table.cell_display=org.extremecomponents.table.cell.DisplayCell
    table.cell_date=org.extremecomponents.table.cell.DateCell

    当 column 默认使用org.extremecomponents.table.cell.DisplayCell

    public class DisplayCell extends BaseCell {

        
    public String html() {
            HtmlBuilder html 
    = new HtmlBuilder();

            html.append(startTD());

            Object value 
    = column.getValue();
            
    if (value != null && StringUtils.isNotEmpty(value.toString())) {
                html.append(value);
            }
     else {
                html.append(
    "&nbsp;");
            }


            html.append(endTD());

            
    return html.toString();
        }

    }


    ec已其它cell
    日期格式化: cell = " date " format = " yyyy-MM-dd "
    数字格式化: cell="currency" format="###,###,##0.00"


    另外,extremeTable支持自定义cell
    在这里我以一个简单的例子[以input框的形式出现] 说明如何实现这一方便的扩展

    public class DemoInput extends BaseCell
    {
          
    public String html()
        
    {
            Integer rowNum 
    = rowcount;
            HtmlBuilder html 
    = new HtmlBuilder();
            html.append(startTD());
            Object value 
    = column.getValue();
            HtmlBuilder input 
    = new HtmlBuilder();
            input.input(
    "text");
            input.name(column.getProperty() 
    + "_" + rowNum);
            input.value(value.toString());
            input.close();
            html.append(input.toString());
            html.append(endTD());
            
    return html.toString();
        }

    }


    properties文件增加

    table.cell_demoInput =org.extremecomponents.table.cell.DemoInput 

    jsp代码

    <ec:column property="code" title="编号" width="100" cell="demoInput" styleClass="GridTd"/>

    效果显示为
    当然这只是一个简单的demo以说明如何自定义cell
    如上面你可以简单的实现同样功能

    <ec:column property="code" title="编号" width="100" styleClass="GridTd">
    <input type="text" value="${goodss.code}" name="code_${ROWCOUNT}">
    </ec:column>



    [6]Extended Attributes
    新版本支持Extended Attributes,方便了用户扩展,记得0.9版本时还要我修改N个地方,现在为table,column增加attribute方便多了.
    为table增加一个height的属性

    public class TableTag extends org.extremecomponents.table.tag.TableTag
    {
        
    //div 的高度
        private String height;

        
    public String getHeight()
        
    {
            
    return height;
        }


        
    public void setHeight(String height)
        
    {
            
    this.height = height;
        }


        
    public void addExtendedAttributes(Attributes attributes)
        
    {
            attributes.addAttribute(
    "height", getHeight());
        }


        
    /**
         * set the new attribuer to null - by ito
         
    */

        
    public void release()
        
    {
            super.release();
            height 
    = null;
        }

    }

    然后就可以通过
    model.getTableHandler().getTable().getAttribute("height")取得这个值.可以方便扩展.

    [7] 解决excel中文问题
    继承XlsView.java

        private void body(BaseModel model, Column column, boolean isFirstColumn, boolean isLastColumn) {
          
    //原来的代码略
            hssfCell.setEncoding(HSSFCell.ENCODING_UTF_16); //解决中文乱码
    //原来的代码略
            
        }


        
    private void createHeader(BaseModel model) {
           
    //原来的代码略
            hssfCell.setEncoding(HSSFCell.ENCODING_UTF_16); //解决中文乱码
    //原来的代码略
            
       }


    [8] 解决pdf中文问题
    帮POF注册中文字体,再修改export view即可解决

    [9] Pagination

    [10] 其它亮点
    A sortable 与 exportable 属性 ,分别指可否排序,可否导出. 值为 false/true
    B 可以直接在<ec:column></e:column>中加html代码.
        并可用{collectionName.objectName}类似的语法取得当前object的成员变量值
    C  ${ROWCOUNT}可取当前row num,是指以1开始计算 
    D  ec另一亮点就帮我们写好了form ,如上代码:
          <ec:form name="mainform" action="goods.do"> </ec:form> 设置form name以及action

    参考文档
    http://extremecomponents.org/extremesite/public/documentation.jsp

  • posted on 2005-08-09 19:56 一凡@ITO 阅读(20375) 评论(102)  编辑  收藏

    评论共2页: 1 2 下一页 

    评论

    # re: 也来介绍一下 extremeTable 2005-08-25 13:09 江南白衣@ITO

    1.0.2 M1又出来啦,cvs里每天都有更新,很勤快的一个项目  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-26 12:41 Water Ye@ITO

    <ec:table collection="goodss">
    <ec:column property="code"/>
    <ec:column property="name"/>
    <ec:column property="status"/>
    <ec:column property="born" cell="date" format="yyyy-MM-dd"/>
    </ec:table>

    如果想拿某条记录的用什么属性  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-26 23:17 laozheng126

    动态 列怎么做?我的email:laozheng126@126.com  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-27 01:46 江南白衣@ITO

    动态要未来版本才支持的功能,在他的RoadMap里面有讲,1.0正式版之前会实现。  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-27 14:34 一天一点@ITO

    回复:
    [1]使用jsp2.0 EL 语法,例如${presidents.lastName} 可以取得当前列.
    它应该是request或sessoin这类的对象.setAttribute()的
    Added TableTag var attribute. Used (optionally) as the name of
    据了解,最新版本1.0.2-M1已修复这种难以理解的写法:
    "Added TableTag var attribute. Used (optionally) as the name of the variable to hold the current bean. "
    TableTag var attribute(completed for 1.0.2-M1 release) If you would prefer to not have each bean placed in the pageScope with the collection attribute value, as the table is iterating over the body, then you could use the optional var attribute. Some users said that overloading the collection attribute was not flexible enough.
    具体使用请见本人对extremeTable跟进BLOG页
    [2]roadmap中有提到动态 列的支持,"Dynamically Hide/Show columns "
    另外还增加好多令人兴奋不已的新元素,
    期待
    http://extremecomponents.org/extremesite/public/roadMap.jsp  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-30 19:33 kiven

    请问导出excle文件的中文问题怎么解决阿?
    我试着重新编译xlsview.java文件但是总是通不过,哪位大侠有编译好的提供一下好吗?
    谢谢了!  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-08-31 09:22 David

    [1]继承原类 XlsView
    public class XlsView extends org.extremecomponents.table.view.XlsView
    {
    //其它略

    private void body(BaseModel model, Column column, boolean isFirstColumn, boolean isLastColumn) {
    //解决中文乱码问题
    cell.setEncoding(HSSFCell.ENCODING_UTF_16);
    }

    private void createHeader(BaseModel model) {
    //解决中文乱码问题
    cell.setEncoding(HSSFCell.ENCODING_UTF_16);
    }

    //其它略
    }


    [2]修改extremecomponents.properties
    table.view_xls=com.itorgan.tags.extreme.XlsView  回复  更多评论   

    # 关注开源项目,简化开发流程[TrackBack] 2005-09-08 23:57 Gavin_Ellen

    Ping Back来自:blog.csdn.net
    [引用提示]Gavin_Ellen引用了该文章, 地址: http://blog.csdn.net/zhujianwu2008/archive/2005/09/08/475358.aspx  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-10-14 01:06 anthens

    解决pdf中文问题
    帮POF注册中文字体,再修改export view即可解决
    -----------------------------

    能不能给小弟详细解释一下,我试了好多次,都是失败告终!
    大侠如能指点一二,不胜感激!

    我的邮箱:anthens@163.com  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-10-14 09:13 David

    最近忙些东西,关于这方面的介绍可能要等闲了的时候,如果不急的话再注意吧 :)  回复  更多评论   

    # 为什么我试了, 不成功 2005-12-02 14:09 Jude

    按照上面的方法, 提示如下, 高手帮帮忙

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: TableTag Problem: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.isNotBlank(Ljava/lang/String;)Z
    at org.extremecomponents.table.tag.TableTagUtils.getPropertiesLocation(TableTagUtils.java:270)
    at org.extremecomponents.table.tag.TableTag.doStartTag(TableTag.java:490)
    at org.apache.jsp.test_jsp._jspx_meth_ec_table_0(test_jsp.java:430)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:358)

      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-12-02 16:22 xuruchao

    common-lang2.0没有加入classpath  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2005-12-03 19:21 一天一点@ITO

    "javax.servlet.ServletException: TableTag Problem: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.isNotBlank(Ljava/lang/String;)Z "

    提示得很清楚:)
      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-04-21 14:18 david.turing

    efa,1.0.1M4的tld定义好像跟以前版本不一样
    <ec:table
    collection="goodss"
    action="${pageContext.request.contextPath}/test.jsp"
    imagePath="${pageContext.request.contextPath}/images/*.gif"
    cellpadding="1"
    title="my bread">
    <ec:column property="code"/>
    <ec:column property="name"/>
    <ec:column property="status"/>
    <ec:column property="born" cell="date" format="yyyy-MM-dd"/>
    </ec:table>
    中,collection好像变成items了  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-04-21 15:15 davidxu

    好久的版本号已经改了, 好象是 1.0.1-M2 吧
    http://www.blogjava.net/davidxu/archive/2005/08/27/11316.aspx

    "collection attribute 不再赞成使用,可以使用tableId, items, and var 取而代之
    "  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-04-29 10:00 zhuiyun

    @David

    请问extremecomponents.properties在哪能找到,是要自己定义吗?初接触extremecomponents,还望指教!
      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-04-29 10:31 zhuiyun

    @David
    extremecomponents.properties 是否需要在web.xml中引用  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-04-29 15:52 davidxu

    @zhuiyun
    1 在src目录下应该可以找到
    2 是的,配置大概是这样子
    <context-param>
    <param-name>extremecomponentsPreferencesLocation</param-name>
    <param-value>/extremetable.properties</param-value>
    </context-param>  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2006-09-29 18:10 fdse

    竟然连列宽都不能调节  回复  更多评论   

    # 请教2个问题 2006-12-08 20:02 慈悲鱼

    1、在设置row的interceptor出现错误,怀疑是eXtremeComponents的BUG
    jsp代码如下:
    <ec:exportXls fileName="中文.xls" tooltip="Export Excel"/>
    <ec:row highlightRow="false" onclick="alert( '${pres.eqp_cod}');"

    onmouseover="this.style.cursor='pointer'"
    interceptor="org.ofbiz.aomp.war.MarkerIntercept"
    >
    <ec:column property="eqp_cod" title="设备号">
    </ec:column>
    <ec:column property="eqp_seq" title="设备流水号"/>
    <ec:column property="eqp_name" title="设备名称">
    </ec:column>
    <ec:column property="use_unt_lkman" title="联系人">
    </ec:column>
    </ec:row>

    org.ofbiz.aomp.war.MarkerIntercept类代码如下:

    package org.ofbiz.aomp.war;
    import org.extremecomponents.table.bean.Row;
    import org.extremecomponents.table.core.TableModel;
    import org.extremecomponents.table.interceptor.RowInterceptor;

    import org.ofbiz.aomp.war.beans.Equipment;

    public class MarkerIntercept implements RowInterceptor {

    public void addRowAttributes(TableModel model, Row row) {

    }
    public void modifyRowAttributes(TableModel model, Row row) {

    Equipment eqp = (Equipment) model.getCurrentRowBean();
    String eqpnum = eqp.getEqp_seq();
    if (Integer.parseInt(eqpnum)>1000)
    {
    row.setStyle("background-color:#fdffc0;");
    } else {
    row.setStyle("");
    }
    }

    }

    运行的时候异常为:

    javax.servlet.ServletException: TableTag Problem:
    javax.servlet.jsp.JspException: RowTag.doStartTag() Problem:
    java.lang.ClassCastException
    at
    org.extremecomponents.table.core.TableCache.getRowInterceptor(TableCache.java:103)
    at
    org.extremecomponents.table.handler.RowHandler.addRowAttributes(RowHandler.java:56)
    at
    org.extremecomponents.table.handler.RowHandler.addRow(RowHandler.java:49)
    at
    org.extremecomponents.table.core.TableModelImpl.addRow(TableModelImpl.java:134)
    at org.extremecomponents.table.tag.RowTag.doStartTag(RowTag.java:119)
    at
    org.apache.jsp.war.test_jsp._jspx_meth_ec_row_0(org.apache.jsp.war.test_jsp:194)
    at
    org.apache.jsp.war.test_jsp._jspx_meth_ec_table_0(org.apache.jsp.war.test_jsp:143)
    at
    org.apache.jsp.war.test_jsp._jspService(org.apache.jsp.war.test_jsp:97)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:237)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.ofbiz.aomp.base.bean.filters.RequestDumperFilter.doFilter(RequestDumperFilter.java:214)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.ofbiz.aomp.base.bean.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:170)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)

    2、设置好exportXls后,导出不了EXCEL,但javascript没有报错。(我用的是最新版本1.01应该是已经解决了中文名的问题)

    我的系统是禁止弹出框的,不知道会不会影响导出EXCEL,另外在web.xml也设置可以访问的路径,不知道要不要加入
    导出EXCEL的路径
      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2007-04-20 10:18 sorcerer

    用droplist过滤的时候如果内容是中文的提交后得到的好像是乱码啊.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2007-06-21 04:08 dsfg fds

    SART
    http://figa-on-line-sesso-gratis.cmjdir.info
    sdfhsdgh
    sdfhs dfshg fdsg sdf   回复  更多评论   

    # jsp里加入jsp标签出错了 2007-08-21 14:34 乖乖兔

    <%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    出错了。。。。我在web-inf里已经对jstl标签注册了。。如下:
    <jsp-config>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/jstl.tld</taglib-location>
    </taglib>
    </jsp-config>

    抛错如下:
    org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /form/device.jsp</h3><p>null: org.xml.sax.SAXParseException: Attribute "filterable" was already specified for element "ec:column".</p>
    上面的jsp页面抛错是舍么意思。。
    如果我把jstl导入标签去掉,jsp运行正常。放在一起就不行。。。还望知道的人解释一下。谢谢  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2007-08-30 09:42 肖琦

    如果要一在个列表页上,直接转到第N页时,应该怎么做,目前好像只能上一页、下一页、首页、未页,及每页显示多少条,而不能直接转到第N页,请博主费心指点一下。
    感谢!!我EMAIL xiaoqi003@163.com  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2007-08-30 09:43 肖琦

    如果要一在个列表页上,直接转到第N页时,应该怎么做,目前好像只能上一页、下一页、首页、未页,及每页显示多少条,而不能直接转到第N页,请博主费心指点一下。
    感谢!!我EMAIL xiaoqi003@163.com   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2007-12-11 03:19 dövüş oyunları

    hoohoo http://www.blogjava.net/warwar/ thanks  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-01-15 22:01 Usb flashdrive

    It’s very good article. Great site with very good look and perfect information.
      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-02-04 23:38 automotive repair manual

    "collection attribute 不再赞成使用,可以使用tableId, items, and var 取而代之   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-03-26 01:29 Gry Online

    Keep up the good work.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-09-14 18:50 Oyun

    Very thanks for you!!  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-11-04 21:36 oyun

    thanks very good  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-11-14 20:53 plastik cerrahi

    Leah is definitely the one who should win. Science Fiction Conventions? What?! She deserves a win, indeed!  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2008-11-17 00:26 Estetik

    I'm guessing the only way to do this in Javascript would be to use the onresize event, and then using the resizeTo method to attempt to keep the window at the size you want?  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-04-25 06:40 burun estetigi

    Great idea to release the Delicious extension for Internet Explorer earlier! Many thanks.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-04-25 06:41 burun estetigi

    It’s very good article. Great site with very good look and perfect information.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-04-29 04:58 estetik

    I'm guessing the only way to do this in Javascript would be to use the onresize event, and then using the resizeTo method to attempt to keep the window at the size you want?  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-05-01 21:56 yazgulu

    thanksss  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-05-01 21:56 yazgulu

    Leah is definitely the one who should win. Science Fiction Conventions? What?! She deserves a win, indeed!   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-05-14 18:00 cam balkon

    thankss http://www.ascambalkon.com  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-07-22 15:17 普通話課程

    我覺得很有見地  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-07-22 15:31 普通話課程

    多謝  回复  更多评论   

    # cam balkon 2009-07-22 20:41 info@anadolucambakon.com

    cam balkon kapama  回复  更多评论   

    # cam balkon 2009-07-22 20:41 info@anadolucambakon.com

    camlama cam balkon  回复  更多评论   

    # cam balkon 2009-07-22 20:43 http://www.anadolucambalkon.net

    cam balkon  回复  更多评论   

    # cam balkon 2009-08-19 23:20 starlayt_sinem01@hotmail.com


    <a href="http://www.ftkcambalkon.com" title="cam balkon">cam balkon</a>  回复  更多评论   

    # cam balkon 2009-09-20 02:36 info@anadolucambalkon.com

    http://www.anadolucambalkon.com  回复  更多评论   

    # cam balkon 2009-09-20 02:37 info@anadolucambalkon.com

    http://www.anadolucambalkon.net  回复  更多评论   

    # katlanır cam balkon 2009-09-30 20:58 starlayt_sinem01@hotmail.com

    <a href="http://www.zonexkatlanircambalkon.com" title="katlanır cam balkon">katlanır cam balkon</a>  回复  更多评论   

    # film izle 2009-11-22 02:25 starlayt_sinem01@hotmail.com

    http://movies.gen.tr/index.php/2009/11/2012-filmi-online-izle/
    http://movies.gen.tr/index.php/2009/11/nefes-izle/  回复  更多评论   

    # re: 也来介绍一下 extremeTable[未登录] 2009-11-30 15:27 tina

    请教一下楼主,当我导出execl时报org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: TableTag Problem: java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCell异常,不知哪出了问题?  回复  更多评论   

    # dizi izle 2009-12-17 23:04 starlayt_sinem01@hotmail.com

    <a href="http://www.yenidiziizle.com" title="dizi izle">dizi izle</a>  回复  更多评论   

    # dizi izle 2009-12-17 23:06 starlayt_sinem01@hotmail.com

    http://www.yenidiziizle.com/diziler/Ezel_  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2009-12-28 01:50 emCATHERIN

    Good thesis sample close to this topic finished by <a href="http://www.primedissertations.com">thesis writing</a> or <a href="http://www.primedissertations.com">dissertation writing service</a> must be a very good step to the success.   回复  更多评论   

    # cam balkon 2010-01-20 03:23 cam balkon

    cam balkon  回复  更多评论   

    # cam balkon 2010-03-05 20:12 ftk_cambalkon@hotmail.com

    thanks cam balkon sistemleri  回复  更多评论   

    # cam balkon 2010-03-05 20:14 http://www.cam-cambalkon.com

    thank youu  回复  更多评论   

    # cam balkon 2010-03-05 20:15 http://www.babilcambalkon.com

    thankss
      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-04-02 17:27 thesis

    Thank you a lot for your smashing article related to this topic. I could not get such kind of history dissertation in web and even tried to order the thesis. Therefore, I really have all the facts now.   回复  更多评论   

    # cam balkon 2010-05-03 02:24 http://www.bkscam.com

    thanks cam balkon sistemleri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-07-20 10:58 credit loans

    I had got a desire to begin my own organization, however I did not have enough of money to do it. Thank goodness my close dude recommended to utilize the loan. Hence I received the sba loan and made real my old dream.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-09-15 23:29 technology essays paper

    Did not decide whether to buy music and movies essay paper or to write that by yourself? I could suggest to get essay from the writing firm, when you had no time.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-09-25 08:20 order essay

    All students at high school try to have the doctoral degree and they purchase the custom written essay close to this post at the essay writing service, but very often they require the articles about custom papers.   回复  更多评论   

    # exshoe21@hotmail.com 2010-11-11 22:00 exbagscom


    exbagscom
    exshoe21@yahoo.com
    http://www.ugg-roxy.com
    Classic Short calf height boot
    thank you for your advise ,
    http://www.ugg-roxy.com
    all kinds of TOP QUALITY branded-name Apparel & Fashion. lv Jeans,nike Shoes,gucci T-shirt,coach Handbag, polo jersey
    http://www.exbags.com
    exshoe21@hotmail.com
    exshoe21@yahoo.com
      回复  更多评论   

    # nfljerseynet@hotmail.com 2010-11-11 22:00 sell-nfljerseyscom


    sell-nfljerseyscom
    http://www.nfljerseynet.com
    nfljerseynet@hotmail.com
    NFL ,MLB,NBA,NHL jerseys
    We can supply all kind jersey with good quality and low price.
    http://www.sell-nfljerseys.com
    http://www.nfljerseynet.com



      回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-11-27 03:37 order custom essay

    When you are embarrassed and do not know how to write the custom written essay, you will be able to order an essay from the modern term paper writing service. It should save your time.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2010-11-27 16:25 reaction paper writing

    I'm pretty sure that good students will improve their writing skills purchasing essay papers from research paper writing service. Because a great writing service can complete custom written essays on every field of study.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2011-07-12 22:43 Buy essay

    The bring out referring to this topic is really favourite and just because of it the writing services would trade not very expensive custom written essays and we buy custom essay papers.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2011-07-15 05:16 college papers

    Captivating post at that place, and i’ve bookmarked this blog too…keep up the premium work. I guess that that would be good when some people use your material in custom term papers situation.   回复  更多评论   

    # CAM BALKON 2011-10-11 13:55 http://www.anadolucambalkon.com

    balkon kapama  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2012-05-12 11:02 help writing essays

    Nobody knows a right way to reach an academic peak. Nonetheless, I claim that you are able to strive to buy custom written papers. That should help you very much.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2012-09-25 14:24 buy essay

    When your written assignment is really complex to do, visit Premium Quality Essays company to save your precious time and buy essay papers! Our group of expert writers is 24/7 willing to give good writing papers online help!  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2012-09-25 15:24 custom writing

    Do not think that you are in the middle of nothing with your academic tasks accomplishing. We're here to support you and students in the whole world and give and opportunity to buy custom term papers online.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2012-09-26 16:37 buy essays UK

    Then if you are a student who is seeking for custom writing UK essays click up here. Order online essay from the reputable agency and you will never complain.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2012-12-11 18:34 buy essay

    可以选择注册与相关应用商店发布您的移动程序,并使其可用于其他手机上下载。领先的手机厂商所承载的应用程序商店。谢谢。  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-01-04 15:14 istanbul hava durumu

    Then if you are a student who is seeking for custom writing UK essays click up here.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-01-27 05:39 Graphic Design Services

    我也认为,比PDF Excel是更好的。因为它的每一个计算公式使很容易解决的。  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-04-02 12:23 resume services

    Are you seeking how to write a resume or where to receive resume formats and professional resume writing service? Or you just want to buy resumes from certified resume writers? Merely get in touch with Resume company.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-05-24 06:35 resume writing service

    Are you hunting where to buy resume paper or where to obtain CV sample and professional resume writers review? Or you just wish to buy resumes from clever resume writers? Just get in touch with Resume company exclusiveresume.com.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-06-21 18:04 http://www.catitamirati.com

    I'm pretty sure that good students will improve their writing skills purchasing essay papers from research paper writing service.   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-03 23:49 Best-essay-sites.com

    Have no idea which company to pick to receive assistance from? Glance over Custom-Essay testimonials "best-essay-sites.com", and come to a right decision.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-12 20:50 over here

    Searching after custom essay review? Merely visit Essays Review page (essaysreview.com) to see the best choice for you!  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-12 20:53 certified resume writers

    Acsertain that you will be supplied with original writes up whenever you buy professional resume writing service (resumesleader.com).  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-15 16:05 Check this link

    When you are in a hurry and do not have any idea of how to make the time so as to compose a prime quality CV, approach companies that offer quality CV sample.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-15 16:09 ValWriting.net rewiew

    Now, a lot of pupils are hunting for high quality custom term papers. EssaysProfessors rewiew "best-writing-services.com" will aid learners to come over the most reliable paper writing service from which they can order top-notch papers done from point zero.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-08-15 16:09 Web page

    Presently, a great number of pupils are looking for fine quality custom essays. SupremeEssays rewiew best-writing-services.com will aid pupils to find the most reliable paper writing service from which they are able to order the best term papers produced from scratch.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-09-03 10:24 marvelousresume.com

    Professional resume writers review will hint you where to buy resume paper in case you are too busy to write a resume, just check this Marvelous Resume company, check CV sample and our certified resume writers will successfully provide you resume services. Buying resume with us is pretty easy, buy resume now and stay satisfied about your future employment.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-09-03 10:26 up here

    Are you searching which service to choose for buying resume or where to get samples of resume writing and excellent CV writing? Or you merely would like to order resume from best resume writers? Only contact Resume company.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2013-12-29 14:29 check here

    In case it's complicated for you to decide what agency to approach, consult with your fellows who also prefer to cooperate with resume writers "resumesleader.com".  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-03-26 18:55 expert resume writers

    Are you hunting how to write a resume or where to get resume writing samples and professional resume writing service? Or you merely would like to buy resume from professional resume writers? Only get in touch with Resume company (perfect-resume.com).  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:53 davetiye

    Günümüzde yeni evlenen kişileri düğünlerde en güzel ürünlerin ve düğün davetiyeleri nin de daha farklı ve diğer davetiye örneklerine göre daha farklı ve özel olmasını da isteyebilmektedirler. Bu tür konularda ise düğün davetiyeleri konusunda oldukça farklı seçenekleri ve modelleri olan bir firma sayesinde sizlerde bu özel gününüze davet edeceğiniz kişiler için oldukça şık ve modern davetiye ürünlerinden birini de temin edebilirsiniz. Bunların yanı sıra ise aynı şekilde nikah davetiyesi olarak da bilinen bu ürünler sayesinde akılarda kalacak ve modern ürünleri de görebilme şansına da sahip olacağınız firmadan bahsediyorum.  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:54 düğün davetiyeleri

    Davetiye Katalogları Basımı : Düğün Nikah Nişan Sünnet Resimli Fotoğraflı ilginç Komik özel davetiyeler farklı tasarımlı davetiye Modelleri   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:54 nikah şekeri

    Nikah Şekeri Bebek şekerleri Sünet şekerleri Kına Kesesi Magnetler Magnet nikah şekeri ucuz nikah şekeri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:55 nikah şekeri

    Nikah Şekerleri Bebek şekerleri Sünet şekerleri Kına Kesesi Magnetler Magnet nikah şekeri ucuz nikah şekeri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:55 nikah şekeri

    100 Nikah Şekeri 60 tl Bebek şekerleri Sünet şekerleri Kına Kesesi Magnetler Magnet nikah şekeri ucuz nikah şekeri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:56 nikah şekeri

    Nikah Şekeri shop Bebek şekerleri Sünet şekerleri Kına Kesesi Magnetler Magnet nikah şekeri ucuz nikah şekeri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:57 davetiye modelleri

    Davetiye Katalogları Basımı : Düğün Nikah Nişan Sünnet Resimli Fotoğraflı ilginç Komik özel davetiyeler farklı tasarımlı davetiye Modelleri   回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:58 cam balkon fiyat

    cam balkon fiyatları en ucuz sistemleri  回复  更多评论   

    # re: 也来介绍一下 extremeTable 2014-11-01 05:59 matbaa

    matbaa fiyatları en ucuz matbaa firmaları  回复  更多评论   

    评论共2页: 1 2 下一页 

    只有注册用户登录后才能发表评论。


    网站导航: