view scope
This commit is contained in:
@@ -228,6 +228,10 @@ public class JsfViewFactoryTests extends TestCase {
|
||||
|
||||
private class NormalViewState implements StateDefinition {
|
||||
|
||||
public boolean isViewState() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
throw new UnsupportedOperationException("Auto-generated method stub");
|
||||
}
|
||||
|
||||
@@ -265,6 +265,10 @@ public class JsfViewTests extends TestCase {
|
||||
|
||||
MutableAttributeMap attrs = new LocalAttributeMap();
|
||||
|
||||
public boolean isViewState() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public ModalViewState() {
|
||||
attrs.asMap().put("modal", Boolean.TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user