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 wrote:
>
> 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 
> could decide what to do with it. You'll have to target your servlet at a 
> _blank page or an IFRAME to prevent stomping on your GWT app.
>
> On Thursday, February 3, 2011 2:42:26 AM UTC-5, Ido wrote:
>>
>> 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 create a csv out of it and 
>> *somehow* send it to the client.
>> Just can't figure how to do so.
>> Maybe the server should return the user a path to the created file, but 
>> then what?
>> Maybe new servlet should be created to handle this kind of action, but 
>> how can I send the list of the selected objects?
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to