Commit 42d992014c6ea163bce9f371360f0152f43fbd58
1 parent
2a79aab7
Exists in
master
RESOLVED - issue FWK-130: Classes anotadas com @ViewScoped ou
@ViewController devem implementar Serializable https://demoiselle.atlassian.net/browse/FWK-130
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
impl/extension/se/src/test/java/scope/ViewScopedBean.java
1 | 1 | package scope; |
2 | 2 | |
3 | +import java.io.Serializable; | |
4 | + | |
3 | 5 | import br.gov.frameworkdemoiselle.annotation.ViewScoped; |
4 | 6 | |
5 | 7 | @ViewScoped |
6 | -public class ViewScopedBean { | |
7 | - | |
8 | +public class ViewScopedBean implements Serializable { | |
9 | + | |
10 | + private static final long serialVersionUID = 1L; | |
11 | + | |
8 | 12 | private String value; |
9 | 13 | |
10 | 14 | public String getValue() { |
... | ... | @@ -14,5 +18,4 @@ public class ViewScopedBean { |
14 | 18 | public void setValue(String value) { |
15 | 19 | this.value = value; |
16 | 20 | } |
17 | - | |
18 | 21 | } | ... | ... |