File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: When to calculate calculated fields?
jQuery in Action, 3rd edition