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,pdf 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, > > > > <c:set var="ra" value="${reportForm.rptArray}"/> > > > > <displayEL:table id="row" name="${ra}" export="true" class="table.mars"> > > <displayEL:column property="quarter" title="Quarter" media="csv excel" > > group="1" /> > > <displayEL:column property="agents" media="csv excel"/> > > <displayEL:column property="received" media="csv excel"/> > > <displayEL:column property="uploaded" media="csv excel"/> > > <displayEL:column property="pending" media="csv excel"/> > > <displayEL:column property="sentToITD" title="Comments" media="csv > > excel"/> > > <displayEL:setProperty name="export.pdf" value="true"/> > > </displayEL:table> > > > > 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

