myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <we...@gmx.at>
Subject Re: When does saveState occur?
Date Tue, 06 Feb 2007 00:01:47 GMT
Werner Punz schrieb:
> Lisa schrieb:
>> If I have <t:saveState> in my bean.  On a managed bean, when does saveState
>> (restoring of values) actually occur?
>>
>> 1.  before the setters listed in the managed-bean?
>> 2.  Immediately after the setters in the managed bean?
>> 3.  Some other time?
>>
> Pretty much at the and of the lifecycle.
> 
> the restore happens at the beginning.
> So the values are first restored, then the request values are applied
> after that all the work is done in the other phase, then it is saved again.
> 
> 
sorry I meant phases, not phase ;-)
I should have gone to bed already


Mime
View raw message