Tuesday, October 26, 2010
Blogger Templates Study Abroad
JSF 2 - model update after a failed validation
While experimenting JSF 2, I came across the following problem:
If a form submitted and the validation fails, appropriate error messages - ok. If you reject it with another button, the previous user input will and will update the form with a backend model are the last correct-values submitted in the form and not the values of the updated back-end models.
Unfortunately I have not a clean solution of how to approach the problem ...
I've posted the problem with stack overflow times with sample code: One possible solution I have to Posted - but is not really nice. I would be happy for any tip about the problem, of course, animal!
Subscribe to:
Posts (Atom)