• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

How to read contents of a different Textbox's on a Tab in a TabPanel

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Ranchers,

I am stuck with a thing here ! again...

I have a Tab-Panel with different Tab's containing form like fields.These fields have Textbox's which the user will fill.
I want to read the contents of TextBox...I tried going through the api...but...I think I am not on a right path because I didnt find a method to read the TextBox contents...

I tried

TabPanel tab = new TabPanel();
tab.add(formContentPanel,formName1);
tab.add(formContentPanel,formName2);

formContentPanel --> has TextBox's--> How to read the data in them...

Waiting for your reply....guys...

Rakesh

 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TextBox#getText() ?
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Oops it was a Bad One....Man...actually I was reading it from a another Panel....Sorry....

 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!