with GWT 2.4, i’m developing a web ordering system wherein user can select items and put it in the cart then check it out after providing the quantity of each item. then, when user clicks PDF button, a pdf report will be generated based on the items found on the CellTable then the open with/save file dialog will appear.
How can do this one with GWT?
You have to make a request containing the data from client to server.
On the server side you handle the request, parse the data and generate the PDF file and then you send the response containing the PDF file and in the header you should set: