Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to export selected rows of displaytag to a file?

 
Vighnesh Mu
Greenhorn
Posts: 29
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know how to resolve this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic