jQuery in Action, 3rd edition
The moose likes GWT and the fly likes GWT Where is the uploaded String saved? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Where is the uploaded String saved?" Watch "GWT Where is the uploaded String saved?" New topic

GWT Where is the uploaded String saved?

Urs Ber

Joined: Feb 20, 2012
Posts: 2

i try to make an application with a TabLayoutPanel. Every Tab consists of a composite widget which is implemented in an own class. So far fine!

The first Tab simulates something like a FileUpload and consists of a TestArea where a user can input text. This text should be processed by the server.

The second Tab should process the same text = the text(String), that i uploaded in the first tab.

How can i use the uploaded text in the second tab, which is implemented in a seperated class.

Code of the first tab, that works fine!

Code of the second tab, which needs the uploaded text of the first tab, but i don't know how to do that:

Thank you very much for help!

Prabakar Kalivaradan

Joined: Dec 12, 2011
Posts: 20

Well, if you want the second tab to fetch the text from the first tab (instead of getting it from the server), send the text to the second tab composite while you upload the text from first tab to server. That way it is cleaner. Define certain interface for second tab composite to take text inputs. You can easily get the component sitting in each tab as well. So sending data from one tab to another tab, shouldn't be a problem.

I agree. Here's the link: http://aspose.com/file-tools
subject: GWT Where is the uploaded String saved?
It's not a secret anymore!