Re: Export CellTable's selected rows into a csv file

2013-08-13 Thread fedex
one way to achieve this is to use the session object to store the values that you sent to the server side and in your httpservlet class obtain them and write to the excel file On Monday, January 31, 2011 9:22:37 AM UTC-6, Ido wrote: Hi, I'm about to implement a new feature in my web

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
No, I was just saying how I did it. As I recall--it's been several years--I first used OpenCSV but switched to Apache's CSV because it also had a tab delimited option (though I guess you can do the same thing with OpenCSV by changing the delimiters). If your file is empty, I'd check your file

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Winnie T
Oh I see. I did something like this (below), wonder if you can spot the error when I handle the results that is being passed to the library try { session.beginTransaction( ); // I am using hibernate session

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Thad Humphries
On Tuesday, August 13, 2013 12:35:00 AM UTC-4, Winnie T wrote: Oh I see. I did something like this (below), wonder if you can spot the error when I handle the results that is being passed to the library try { session.beginTransaction( );

Re: Export CellTable's selected rows into a csv file

2013-08-11 Thread Winnie T
Hi Thad, thanks for responding. Currently, I tried using OpenCSV, and had successfully create a CSV file when I click the export button, but the CSV file was empty. Do you meant that I could use Apache Commons instead of OpenCSV? On Thursday, August 8, 2013 10:27:06 PM UTC+8, Thad Humphries

Re: Export CellTable's selected rows into a csv file

2013-08-08 Thread Thad Humphries
If your server side still has a copy of your list, you can send references to the rows by row number (i thru n) or some sort of row id set in a servlet call. The servlet could build the CSV (Apache Commons has a CSV module) and return it to the browser with the MIME text/csv so the browser

Re: Export CellTable's selected rows into a csv file

2013-08-07 Thread Winnie T
Hi Ido, could you explain how your successfully generate the search results in step 3. I had done step 1 and 2 . In step 3, I managed to generate a csv file, but it is empty. Thank you. WinnieT -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Export CellTable's selected rows into a csv file

2011-02-02 Thread ido
Well, the server side which should populate the csv file is the server package within the GWT project. I'm not using any external backend to populate the csv file. When mentioned sending list of objects using RPC I meant using the RemoteServiceServlet. Once my server get's this list , it should

Export CellTable's selected rows into a csv file

2011-01-31 Thread ido
Hi, I'm about to implement a new feature in my web application, in which csv file is generated out of a selection module of a CellTable. Use case: my client selects rows in a CellTable -- clicks on an Export button -- download csv file. As I see it, these should be the actions once Export

Re: Export CellTable's selected rows into a csv file

2011-01-31 Thread Jan Mostert
I'm assuming you're using a JAVA backend hence the RPC? Which one are you using if I may ask? You'll need to set the mimeType in the header you're sending, saw a topic on Stack Overflow some time ago, have a look at this: