Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

GWT Where is the uploaded String saved?

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!

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.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic