Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

removing zero from h:inputfield

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to display

in which areaCode is of type integer. Because of that I am seeing areaCode populated as zero when the form loads first time. I don't want to display any value when the form loads first time.
 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use "Integer" wrapper object, don't use primitive type "int".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic