File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form bean

 
ramji srinivasan
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i have six textboxes for getting firstname and lastnames in my form.is there anyway in which i can use single getter/setter method to retrieve the values from the six textboxes or i have put getter/setter for each textbox.....

Regards
Ramji Srinivasan
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you can not do that. Yet tools like Eclipse create getters and setters for you. Just define the variables, right click-> source -> generate getters and setters, check the ones you want, click ok and you're done. Not much trouble there.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic