myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: JSF 2.2 ViewScoped - Passivation?
Date Thu, 13 Mar 2014 17:16:51 GMT
Hi

According to some reports I read some time ago in stackoverflow,
Mojarra does not enforce that beans implementing @ViewScoped /
@FlowScoped needs to be Serializable in order to be passivated, but
MyFaces enforce that. As Gerhard said before, the code in MyFaces is
correct.

regards,

Leonardo Uribe

2014-03-13 11:50 GMT-05:00 Gerhard Petracek <gerhard.petracek@gmail.com>:
> hi thomas,
>
> the annotation is given by the spec., however, the registration in
> ViewScopeContextExtension is fine: event.addScope(ViewScoped.class, true,
> true);
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2014-03-13 17:06 GMT+01:00 Thomas Andraschko <andraschko.thomas@gmail.com>:
>
>> Hi,
>>
>> i found the following issue in mojarras issue tracker:
>> https://java.net/jira/browse/JAVASERVERFACES-3191
>>
>> Do we have a unit test for testing passivation?
>> I just looked at our sources but we are missing the passivating attribute,
>> too.
>>
>> Regards,
>> Thomas
>
>

Mime
View raw message