This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a field in a JSF form that is bound to a database field that is really a calculated value, depending what the user enters into the value field the calculated values needs to change and be stored. I have written a java script function that does the calculation and updates the screen, but when I try to save the value with the submit button I get the old value for the calculated field. Not sure why this is happening.