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

Using a boolean type on a form, good idea?

 
Paul Duer
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have a Struts Action and a Form. I have a property in my business object that is boolean, it's a refresh setting, pretty common I guess.
Anyway, is it a good idea to use a boolean type to setup the field on the form? I have pretty good control over what will be submitted.
What about using a primative versus an object, an difference there?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic