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.
In object model I have BigDecimal field and it is populated with Custom converter.
This custom converter return NULL from getAsObject and getAsString if value is null.
Now I can see this custom convert is returning NULL when I keep my Text Field empty but in UPDATE_MODEL_VALUES phase it is populated with default value.
Does this happen with every body ?
Note:- Same program set null value to object model if it is null returned from Custom Converter fine in my Faces 1.1
BEFORE PHASE : UPDATE_MODEL_VALUES(4)
Money : null
AFTER PHASE : UPDATE_MODEL_VALUES(4)
Money : 0