Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GWT Where is the uploaded String saved?

 
Urs Ber
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo,

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
Greenhorn
Posts: 20
Chrome Eclipse IDE Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic