I am trying to get my lists to export to Excel. I've set up my properties
correctly, the Export footer appears and everything looks ok. The URLs
DisplayTag generates are just links to my Controllers, adding some
DisplayTag-specific parameters:

http://localhost:8080/mylist.html?d-6780472-e=2&6578706f7274=1

Of course my Controllers don't have any DisplayTag logic in them, my
understanding is that the ResponseOverrideFilter is used to intercept any
DisplayTag requests, generate the Excel file based on the data sent back
from the Controller, and then stick it in the Response.

In my web.xml I have this:

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

<filter-mapping>
  <filter-name>exportFilter</filter-name>
  <url-pattern>*.html</url-pattern>
</filter-mapping>

I turned debugging on and get this error when I click on the Excel link:

Filter operating in buffered mode. 
{buffer=true}
Filter is enabled but exported content has not been found. Maybe an error
occurred?

I get this in all my lists. What am I doing wrong?

-- 
View this message in context: 
http://n4.nabble.com/DisplayTag-Export-and-ResponseOverrideFilter-tp1477404p1477404.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to