view scope

This commit is contained in:
Keith Donald
2008-03-29 06:10:01 +00:00
parent 794b7345a9
commit bc2ed3e868
20 changed files with 166 additions and 31 deletions

View File

@@ -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");
}

View File

@@ -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);
}