Monday, January 31, 2011

Export CellTable's selected rows into a csv file

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 button is clicked:
1. Collect all selected objects from the selection module.
2. Send list to my server using RPC command.
3. Generate csv file out of the list.
3. "Send" the file to the client.

I've already implemented the first 3 actions , However, did not manage to find any solution for the 4th.
Just don't have any idea how can my server "send" the file to the user.

I've been looking over the net for any solution but couldn't find a thing.

Will appreciate any answer,
Thanks a lot,
Ido

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment