Jean-Francois Leveque

Problème résolu avec un PostConstruct alors que l'exemple n'en avait pas.

...@@ -9,6 +9,7 @@ import org.ocpsoft.rewrite.annotation.RequestAction; ...@@ -9,6 +9,7 @@ import org.ocpsoft.rewrite.annotation.RequestAction;
9 import org.slf4j.Logger; 9 import org.slf4j.Logger;
10 import org.slf4j.LoggerFactory; 10 import org.slf4j.LoggerFactory;
11 11
12 +import javax.annotation.PostConstruct;
12 import javax.enterprise.context.RequestScoped; 13 import javax.enterprise.context.RequestScoped;
13 //import javax.faces.view.ViewScoped; 14 //import javax.faces.view.ViewScoped;
14 import javax.inject.Inject; 15 import javax.inject.Inject;
...@@ -39,6 +40,7 @@ public class ListPublisherVersionsView implements Serializable { ...@@ -39,6 +40,7 @@ public class ListPublisherVersionsView implements Serializable {
39 private boolean viewAll; 40 private boolean viewAll;
40 private transient List<PublisherVersion> publisherVersions; 41 private transient List<PublisherVersion> publisherVersions;
41 42
43 + @PostConstruct
42 @RequestAction 44 @RequestAction
43 public void init() { 45 public void init() {
44 46
......