This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to export selected rows of displaytag to a file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to export selected rows of displaytag to a file?" Watch "How to export selected rows of displaytag to a file?" New topic
Author

How to export selected rows of displaytag to a file?

Vighnesh Mu
Greenhorn

Joined: Jan 06, 2011
Posts: 29

Hi,

I am using displaytag with struts2 for displaying data fetched from database in a jsp, along with pagination and export option. According to my requirement I have to give an option to export only selected rows(used check box to select particular rows to be exported) in the displaytag result table. By using default export option of displaytag I can only export all the rows in displaytag result table. Since I am using pagination also I need to maintain the rows checked in each page to export. Can anybody tell me is it possible to implement my requirement using displaytag and if possible how can I accomplish it?
Is it possible to put headers & footers for the exported page in displytag?

Thanks.
Vighnesh Mu
Greenhorn

Joined: Jan 06, 2011
Posts: 29

Does anybody know how to resolve this?
 
Don't get me started about those stupid light bulbs.
 
subject: How to export selected rows of displaytag to a file?