• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GWT Where is the uploaded String saved?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!


 
Greenhorn
Posts: 20
Google Web Toolkit Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic