Permalink
Browse files

updated w/fix for issue #78

  • Loading branch information...
1 parent 0e5ab56 commit 736a4d15cd39d2a5c16e32c2e4f697163024fe82 @lincolnthree lincolnthree committed Dec 13, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 core/src/main/java/com/ocpsoft/pretty/faces/event/PrettyPhaseListener.java
@@ -91,8 +91,11 @@ public void afterPhase(final PhaseEvent event)
* Parameter validation and injection must occur after RESTORE_VIEW in
* order to participate in faces-navigation.
*/
- validator.validateParameters(event.getFacesContext());
- injector.injectParameters(event.getFacesContext());
+ if (!event.getFacesContext().getResponseComplete())
+ {
+ validator.validateParameters(event.getFacesContext());
+ injector.injectParameters(event.getFacesContext());
+ }
if (prettyContext.shouldProcessDynaview())
{

0 comments on commit 736a4d1

Please sign in to comment.