Problems when UPDATE MODEL phase is lunched

Hi everyone, i got the following problem:

I磎 adding new rows to a table using a popup. The users clicks a button a popup is displayed, he input his data and when he clicks ok all the information is stored in two ArrayList one that is displayed and one for the rows that are new, after that these lists are stored in the session.

The user can add more rows as he wants but when he clicks in a button called "Save" all new rows are saved in a table of a data base.

No problem up to here.

When the user inputs a date in the popup, it is sotred correctly in the two lists mentioned before but when he clicks on the "Save" button, the date is one day less, i mean, if the user inputs 30/JUL/2006 when he clicks "Save" the date is "29/JUL/2006".

After using a phase listener, i found that the value of the date is changed in the UPDATE MODEL phase.

Any thoughts?.

Thanks for any help.

[927 byte] By [Othon_Reyesa] at [2007-11-26 16:00:10]
# 1
By the way i forget to mention that i'm using myfaces 1.1.1 and strangle but the problem is solved if use the attribute immediate="true" in my "Save" button.I still want to know why jsf or myfaces is changing my values.Thanks for any help
Othon_Reyesa at 2007-7-8 22:21:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...