Jean-Francois Leveque

Retour en RequestScoped et correction import SessionScoped au cas où.

...@@ -9,7 +9,7 @@ import org.slf4j.LoggerFactory; ...@@ -9,7 +9,7 @@ import org.slf4j.LoggerFactory;
9 import javax.annotation.PostConstruct; 9 import javax.annotation.PostConstruct;
10 import javax.enterprise.context.RequestScoped; 10 import javax.enterprise.context.RequestScoped;
11 import javax.faces.bean.ManagedProperty; 11 import javax.faces.bean.ManagedProperty;
12 -import javax.faces.bean.SessionScoped; 12 +import javax.enterprise.context.SessionScoped;
13 import javax.faces.context.ExternalContext; 13 import javax.faces.context.ExternalContext;
14 import javax.faces.context.FacesContext; 14 import javax.faces.context.FacesContext;
15 import javax.faces.view.ViewScoped; 15 import javax.faces.view.ViewScoped;
...@@ -21,7 +21,7 @@ import java.util.Date; ...@@ -21,7 +21,7 @@ import java.util.Date;
21 import java.util.List; 21 import java.util.List;
22 22
23 @Named 23 @Named
24 -@SessionScoped 24 +@RequestScoped
25 public class UpdateUserBean { 25 public class UpdateUserBean {
26 @Inject 26 @Inject
27 private UserService userService; 27 private UserService userService;
......