Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to calculate calculated fields?

 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a bean, half of whose properties are bound to input controls in a form and the other half are calculated from the values of the first set of properties. I'd like this bean to have a "setCalculatedProperties" method that I'd call after that form is posted. But how can I do this is JSF?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic