If you're using 1.1, sorting and grouping will be reflected in the excel, rtf, and pdf exports.  Check out the live example showing this functionality.

http://displaytag.homeip.net/displaytag-examples-1.1/example-new-export.jsp

-Jorge

Karthikeyan Ramachandran <[EMAIL PROTECTED]> wrote:
Hi,
Thank U very much..
Export functionality is working now.
I have one more question also...
The requestURI attribute makes another request to the database it seems which fetches all the values again..

The hit to the database is not my concern but when it is exported to excel or CSV or PDF..all my Table format gets lost and only series of rows containing the values is exported..cant I be able to export content as the way they appear in frontend.(I mean if I have used some grouping in the column, cant I be able to make them reflect excel..) I dont know how silly is this question becoz in CSV format it is not worth or does not make any sense but in the other formats like excel,PDF and xml ...it will be really helpful if I m able to export the data with all the formats I have made to the table.

If U have any comments ..plz reply...Thanks again


> ----- Original Message -----
> From: "Ricardo Tercero Lozano" <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: [displaytag-user] regarding Export
> Date: Tue, 21 Feb 2006 16:26:45 +0100
>
>
> You have to set up the requestURI parameter for display tag to collect table
> data.
>
>
>
>
> 2006/2/20, Karthikeyan Ramachandran <[EMAIL PROTECTED]>:
> >
> > Hi all,
> > I m new to displaytag and Struts.
> > I used the export attribute to export data to excel,csv,pd f or whatever.
> >
> > All I could manage to get in the file is column heads..I might be
> > swallowing the remaining contents somewhere. If any of U have faced problem
> > of this kind ..plz reply..
> >
> > the code snippet which is causing my code to work improperly is listed
> > below for ur perusal,
> >
> >
> >
> >
> >
> > group="1" />
> >
> >
> >
> >
> >
> >
> >

> >
> > The IDE i m working in is Webshere Application Studio developer 5.1
> > Struts Version is 1.2.4
> >
> > what might be the problem?
> >
> > --
> > _______________________________________________
> > Surf the Web in a faster, safer and easier way:
> > Download Opera 8 at http://www.opera.com
> >
> > Powered by Outblaze
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >

>


--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Yahoo! Mail
Use Photomail to share photos without annoying attachments.

Reply via email to