Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

removing zero from h:inputfield  RSS feed

 
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
Boost this thread!