Hello,

I think this is due to the fact that the filter is not picked up by the web
application. Even if I have declared it for /*.jsp and /*.do, the url that
the portal uses is : localhost:port/wps/myportal/!ut/p/hashCode......
How should I configure the displaytag filter in this environment ?

Cheers,
Narcis

---------- Forwarded message ----------
From: Paslaru Narcis <paslaru.nar...@gmail.com>
Date: Fri, Sep 25, 2009 at 6:24 PM
Subject: Export in WebSphere Portlet
To: displaytag-user@lists.sourceforge.net


Hi all,

I thought I would give you more details on my current problem, maybe
somebody knows a solution.
I have

factory.requestHelper=org.displaytag.portlet.PortletRequestHelperFactory

in displaytag.properties

In web.xml :

    <filter>
        <filter-name>ResponseOverrideFilter</filter-name>

<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>ResponseOverrideFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

In my jsp :

<portlet:renderURL var="url">
    <portlet:param name="action" value="RaportAnalitic.do"/>
</portlet:renderURL>

  <jsp:scriptlet> request.setAttribute( "test", new ReportList() );
</jsp:scriptlet>

  <h2>Column grouping</h2>

  <display:table name="test" class="simple" export="true"
requestURI="<%=url.toString() %>" requestURIcontext="false">
    <display:column property="city" title="CITY" group="1" />
    <display:column property="project" title="PROJECT" group="2" />
    <display:column property="amount" title="HOURS" />
    <display:column property="task" title="TASK" />
  </display:table>

I am developing Struts Portlets JSR-168 under IBM WebSphere Portal.

My current error, when I click the export links is :

[9/25/09 17:11:34:199 GMT+02:00] 00000082 ServletWrappe E   SRVE0014E:
Uncaught service() exception root cause
/pagesAudit/raportanalitic/RaportAnaliticBody.jsp: 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).



Cheers,
Narcis
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to