Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

When to calculate calculated fields?  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!