Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

save grid data

 
etti eitan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have application with grid.
I want to download this info and save it as csv.

How do I transfer the data to the servelt?

Thanks

 
Maneesh Godbole
Saloon Keeper
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
etti eitan wrote:
How do I transfer the data to the servelt?

You can pass the data as an array or arrays or wrap it in an Object and pass the object/list of objects
 
etti eitan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I send the Object/List from the client to servlet ?
 
Maneesh Godbole
Saloon Keeper
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
etti eitan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to send the info to servelt.
I want to send back the csv data so I can download it from client.
 
Maneesh Godbole
Saloon Keeper
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the link I had provided?
 
etti eitan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your quick response.

I use GWT RPC in my application but I don't understand how can I use it here.

I have a grid with data and I want that when user press the "Save" button the data will be saved.


One way to do this is that when button is click a new window will be open with url that include call to servelt and the servelt will return the csv data and the user can make "Save as" to save the data.
Another way is to use the browser download feature.

Is there another way ? how can I use the GWT RPC for this ?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic