@Override public void processAction(ActionEvent event) throws AbortProcessingException { UIComponent source = event.getComponent(); // don't use event#getFacesContext() - it's only available in JSF 2.3 Map<Object, Object> attrs = FacesContext.getCurrentInstance().getAttributes(); if (source instanceof Widget) { attrs.put(Constants.DIALOG_FRAMEWORK.SOURCE_WIDGET, ((Widget) source).resolveWidgetVar()); } attrs.put(Constants.DIALOG_FRAMEWORK.SOURCE_COMPONENT, source.getClientId()); base.processAction(event); }
/** {@inheritDoc} */ @Override public void processAction(ActionEvent event) { // throws FacesException // cette méthode est appelée par JSF RI (Mojarra) if (DISABLED || !JSF_COUNTER.isDisplayed()) { delegateActionListener.processAction(event); return; } boolean systemError = false; try { final String actionName = getRequestName(event); JSF_COUNTER.bindContextIncludingCpu(actionName); delegateActionListener.processAction(event); } catch (final Error e) { // on catche Error pour avoir les erreurs systèmes // mais pas Exception qui sont fonctionnelles en général systemError = true; throw e; } finally { // on enregistre la requête dans les statistiques JSF_COUNTER.addRequestForCurrentContext(systemError); } }
@Override public void processListener(FacesListener facesListeners) { ((ActionListener)facesListeners).processAction(this); }
@Override public void processListener(FacesListener listener) { this.listener.processAction(this); } }
/** * @throws AbortProcessingException {@inheritDoc} */ @Override public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
/** * @throws AbortProcessingException {@inheritDoc} */ @Override public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
/** * @throws AbortProcessingException {@inheritDoc} */ public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
/** * @throws AbortProcessingException {@inheritDoc} */ @Override public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
@Override public void processListener(FacesListener listener) { this.listener.processAction(this); } }
/** * @throws AbortProcessingException {@inheritDoc} */ public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
public void processListener(FacesListener facesListeners) { ((ActionListener)facesListeners).processAction(this); }
/** * @throws AbortProcessingException {@inheritDoc} */ @Override public void processListener(FacesListener listener) { ((ActionListener) listener).processAction(this); }
@Override public void processAction(ActionEvent actionEvent) { if (this.activated) { getWrappedActionListener().processAction(actionEvent); } else { this.wrapped.processAction(actionEvent); } }
@Override public void processAction(ActionEvent actionEvent) { if (this.activated) { getWrappedActionListener().processAction(actionEvent); } else { this.wrapped.processAction(actionEvent); } }
@Override public void processAction(final ActionEvent actionEvent) throws AbortProcessingException { if (LOG.isDebugEnabled()) { LOG.debug("processAction " + actionEvent); } actionListener.processAction(actionEvent); } }
public void processAction(ActionEvent event) throws AbortProcessingException { _getDelegate().processAction(event); }
public void processAction(ActionEvent event) throws AbortProcessingException { _getDelegate().processAction(event); }
@Override public void processAction(ActionEvent event) throws AbortProcessingException { getWrapped().processAction(event); }
@Override public void processAction(ActionEvent event) throws AbortProcessingException { UIComponent source = event.getComponent(); // don't use event#getFacesContext() - it's only available in JSF 2.3 Map<Object, Object> attrs = FacesContext.getCurrentInstance().getAttributes(); if (source instanceof Widget) { attrs.put(Constants.DIALOG_FRAMEWORK.SOURCE_WIDGET, ((Widget) source).resolveWidgetVar()); } attrs.put(Constants.DIALOG_FRAMEWORK.SOURCE_COMPONENT, source.getClientId()); base.processAction(event); }
@Override public void processAction(ActionEvent actionEvent) { if (this.activated) { ViewConfigDescriptor viewConfigDescriptor = BeanProvider.getContextualReference(ViewConfigResolver.class) .getViewConfigDescriptor(FacesContext.getCurrentInstance().getViewRoot().getViewId()); ViewControllerUtils.executeViewControllerCallback(viewConfigDescriptor, PreViewAction.class); } this.wrapped.processAction(actionEvent); } }