Restore after the RESTORE_VIEW phase.

This commit is contained in:
Erwin Vervaet
2008-06-23 12:49:06 +00:00
parent a3d28aa48c
commit 5788364d69

View File

@@ -56,13 +56,12 @@ public class AutowiringPhaseListener extends AutowiringSupport implements PhaseL
}
public void beforePhase(PhaseEvent event) {
}
public void afterPhase(PhaseEvent event) {
FacesContext context = event.getFacesContext();
if (FlowExecutionHolderUtils.isFlowExecutionRestored(context)) {
autowire(FlowExecutionHolderUtils.getCurrentFlowExecution(context));
}
}
public void afterPhase(PhaseEvent event) {
// nothing to do after the phase
}
}