Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

WFLY-3044 / JAVASERVERFACES-3191 Mojarra's @ViewScoped implementation is... #1

Open
wants to merge 1 commit into from

1 participant

@rhusar rhusar WFLY-3044 / JAVASERVERFACES-3191 Mojarra's @ViewScoped implementation…
… is not cluster-aware resulting in NotSerializableException
1da8a58
@fjuma fjuma referenced this pull request from a commit
mriem Try #1 for automatic WLS bundling
git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12536 761efcf2-d34d-6b61-9145-99dcacc3edf1
6d53be5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2014
  1. @rhusar

    WFLY-3044 / JAVASERVERFACES-3191 Mojarra's @ViewScoped implementation…

    rhusar authored
    … is not cluster-aware resulting in NotSerializableException
This page is out of date. Refresh to see the latest.
View
2  jsf-api/src/main/java/javax/faces/view/ViewScoped.java
@@ -115,7 +115,7 @@
* @since 2.2
*/
-@NormalScope
+@NormalScope(passivating = true)
@Inherited
@Documented
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
View
3  jsf-ri/src/main/java/com/sun/faces/application/view/ViewScopeContextObject.java
@@ -39,6 +39,7 @@
*/
package com.sun.faces.application.view;
+import java.io.Serializable;
import javax.enterprise.context.spi.Contextual;
import javax.enterprise.context.spi.CreationalContext;
@@ -46,7 +47,7 @@
* An object used by ViewScopeContext to keep track of contextual and creational
* context.
*/
-class ViewScopeContextObject {
+class ViewScopeContextObject implements Serializable {
/**
* Stores the contextual.
Something went wrong with that request. Please try again.