This commit is contained in:
Jeremy Grelle
2009-04-14 13:31:55 +00:00
parent 84abdc9175
commit e1cbf8de97
2 changed files with 2 additions and 3 deletions

View File

@@ -115,8 +115,7 @@ public class JsfView implements View {
}
public Object getUserEventState() {
// Set the temporary UIViewRoot state in Flash for the redirect, regardless of whether the lifecycle
// executed or not (i.e., it's still necessary when starting a flow and rendering a new view instance)
// Set the temporary UIViewRoot state so that it will be available across the redirect
return new ViewRootHolder(getViewRoot());
}

View File

@@ -212,7 +212,7 @@ public class JsfViewTests extends TestCase {
JsfView createdView = new JsfView(new UIViewRoot(), jsfMock.lifecycle(), context);
assertFalse("No user ever should be queued", createdView.userEventQueued());
assertFalse("No user event should be queued", createdView.userEventQueued());
}
public final void testUserEventQueued_FormSubmitted() {