Hi,
I tried this operation and it works fine here with DisplayTag1.1.1,
using different ids for tables. i was able to perform all export operations
(Excel, CSV, PDF, RTF, XML) on the second table... I did not get any
exception as mentioned in DISPL-343.
Harun.
On 10/9/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Send displaytag-devel mailing list submissions to
> displaytag-devel@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of displaytag-devel digest..."
>
>
> Today's Topics:
>
> 1. [jira] Commented: (DISPL-343) Export does not work for the
> second table of a page containing two tables
> (Nicolas Ternisien (JIRA))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 8 Oct 2007 02:48:08 -0500 (CDT)
> From: "Nicolas Ternisien (JIRA)" <[EMAIL PROTECTED]>
> Subject: [displaytag-devel] [jira] Commented: (DISPL-343) Export does
> not work for the second table of a page containing two tables
> To: displaytag-devel@lists.sourceforge.net
> Message-ID:
> <
> [EMAIL PROTECTED]>
>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> [
> http://jira.codehaus.org/browse/DISPL-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109260]
>
> Nicolas Ternisien commented on DISPL-343:
> -----------------------------------------
>
> Same problem here.
>
> > Export does not work for the second table of a page containing two
> tables
> >
> -------------------------------------------------------------------------
> >
> > Key: DISPL-343
> > URL: http://jira.codehaus.org/browse/DISPL-343
> > Project: DisplayTag
> > Issue Type: Bug
> > Components: Export
> > Affects Versions: 1.1
> > Reporter: Nicolas Ternisien
> > Fix For: TBD
> >
> >
> > When you try to export the content (in CVS, Excel or XML format) of a
> second table in a page, this generate the following exception :
> > An exception was thrown: Exception: [.TableTag] Unable to reset response
> before returning exported data. You are not using an export filter. Be sure
> that no other jsp tags are used before display:table or refer to the
> displaytag documentation on how to configure the export filter (requires
> j2ee 1.3).
> > With the following stack trace:
> > Exception: [.TableTag] Unable to reset response before returning
> exported data. You are not using an export filter. Be sure that no other jsp
> tags are used before display:table or refer to the displaytag documentation
> on how to configure the export filter (requires j2ee 1.3).
> > at org.displaytag.tags.TableTag.writeExport(TableTag.java:1430)
> > at org.displaytag.tags.TableTag.doExport(TableTag.java:1356)
> > at org.displaytag.tags.TableTag.doEndTag(TableTag.java:1227)
> > at org.apache.jsp.personneCommissionImputationList_jsp._jspService
> (personneCommissionImputationList_jsp.java:445)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> :92)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> > at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:162)
> > at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:240)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> :187)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> > at org.apache.catalina.core.ApplicationDispatcher.invoke(
> ApplicationDispatcher.java:627)
> > at org.apache.catalina.core.ApplicationDispatcher.doForward(
> ApplicationDispatcher.java:382)
> > at org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:306)
> > at org.apache.struts.action.RequestProcessor.doForward(
> RequestProcessor.java:1062)
> > at org.apache.struts.action.RequestProcessor.processForwardConfig(
> RequestProcessor.java:386)
> > at org.apache.struts.action.RequestProcessor.process(
> RequestProcessor.java:229)
> > at org.apache.struts.action.ActionServlet.process(
> ActionServlet.java:1196)
> > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
> :414)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:200)
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:146)
> > at com.omnigain.credit.immo.strutsFilter.SessionFilter.doFilter(
> SessionFilter.java:66)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:166)
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:146)
> > at com.omnigain.persistence.filter.HibernateFilter.doFilter(
> HibernateFilter.java:48)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:166)
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:146)
> > at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:209)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:596)
> > at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:433)
> > at org.apache.catalina.core.ContainerBase.invoke(
> ContainerBase.java:948)
> > at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:144)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:596)
> > at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:433)
> > at org.apache.catalina.core.ContainerBase.invoke(
> ContainerBase.java:948)
> > at org.apache.catalina.core.StandardContext.invoke(
> StandardContext.java:2358)
> > at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:133)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:596)
> > at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
> ErrorDispatcherValve.java:118)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:594)
> > at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:116)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:594)
> > at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:433)
> > at org.apache.catalina.core.ContainerBase.invoke(
> ContainerBase.java:948)
> > at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:127)
> > at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
> (StandardPipeline.java:596)
> > at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:433)
> > at org.apache.catalina.core.ContainerBase.invoke(
> ContainerBase.java:948)
> > at org.apache.coyote.tomcat4.CoyoteAdapter.service(
> CoyoteAdapter.java:152)
> > at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:799)
> > at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java:705)
> > at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
> PoolTcpEndpoint.java:577)
> > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:683)
> > at java.lang.Thread.run(Thread.java:595)
> > The only solution found is to prevent first table displaying using this
> code :
> >
> > <%
> > //"result" is the id of the second table
> > ParamEncoder paramEncoder=new ParamEncoder("result");
> > String parameter=paramEncoder.encodeParameterName(
> TableTagParameters.PARAMETER_EXPORTTYPE);
> > out.println("parameter" + parameter);
> >
> > if (request.getParameter(parameter)==null) {
> > %>
> > <display:table id="...
> >
> > <%
> > }
> > %>
> > Something really strange is that sorting and other features works
> correctly for both tables.
> > Thanks by advance.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
> ------------------------------
>
> _______________________________________________
> displaytag-devel mailing list
> displaytag-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
>
>
> End of displaytag-devel Digest, Vol 17, Issue 6
> ***********************************************
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel