private void processEvent(final PhaseEvent event) { FacesContext context = event.getFacesContext(); PrettyContext prettyContext = PrettyContext.getCurrentInstance(context); UrlMapping mapping = prettyContext.getCurrentMapping(); if (mapping != null) { executor.executeActions(context, event.getPhaseId(), mapping); } } }
for (UrlAction action : actions) if (shouldExecute(action, currentPhaseId, FacesStateUtils.isPostback(context)))
for (UrlAction action : actions) if (shouldExecute(action, currentPhaseId, FacesStateUtils.isPostback(context)))
private void processEvent(final PhaseEvent event) { FacesContext context = event.getFacesContext(); PrettyContext prettyContext = PrettyContext.getCurrentInstance(context); UrlMapping mapping = prettyContext.getCurrentMapping(); if (mapping != null) { executor.executeActions(context, event.getPhaseId(), mapping); } } }
for (UrlAction action : actions) if (shouldExecute(action, currentPhaseId, FacesStateUtils.isPostback(context)))
private void processEvent(final PhaseEvent event) { FacesContext context = event.getFacesContext(); PrettyContext prettyContext = PrettyContext.getCurrentInstance(context); UrlMapping mapping = prettyContext.getCurrentMapping(); if (mapping != null) { executor.executeActions(context, event.getPhaseId(), mapping); } } }
for (UrlAction action : actions) if (shouldExecute(action, currentPhaseId, FacesStateUtils.isPostback(context)))
private void processEvent(final PhaseEvent event) { FacesContext context = event.getFacesContext(); PrettyContext prettyContext = PrettyContext.getCurrentInstance(context); UrlMapping mapping = prettyContext.getCurrentMapping(); if (mapping != null) { executor.executeActions(context, event.getPhaseId(), mapping); } } }