wood burning stoves 2.0*
The moose likes JSF and the fly likes When to calculate calculated fields? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "When to calculate calculated fields?" Watch "When to calculate calculated fields?" New topic

When to calculate calculated fields?

Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
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?

There is no emoticon for what I am feeling!
I agree. Here's the link: http://aspose.com/file-tools
subject: When to calculate calculated fields?
Similar Threads
MVC Model and Domain Model
Set bean property values
Can we define static properties in action form bean?
Validator help for shared form bean
significance of id and property in <bean:define />