/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @return a <code>PhaseListener</code> instance * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public PhaseListener getPhaseListener() throws AbortProcessingException { PhaseListener instance = (PhaseListener) Util.getListenerInstance(type, binding); if (instance != null) { return instance; } else { if (LOGGER.isLoggable(Level.WARNING)) { // PENDING i18n LOGGER.warning("PhaseListener will not be processed - " + "both 'binding' and 'type' are null"); } return null; } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @return a <code>PhaseListener</code> instance * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public PhaseListener getPhaseListener() throws AbortProcessingException { PhaseListener instance = (PhaseListener) Util.getListenerInstance(type, binding); if (instance != null) { return instance; } else { if (LOGGER.isLoggable(Level.WARNING)) { // PENDING i18n LOGGER.warning("PhaseListener will not be processed - " + "both 'binding' and 'type' are null"); } return null; } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @return a <code>PhaseListener</code> instance * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public PhaseListener getPhaseListener() throws AbortProcessingException { PhaseListener instance = (PhaseListener) Util.getListenerInstance(type, binding); if (instance != null) { return instance; } else { if (LOGGER.isLoggable(Level.WARNING)) { // PENDING i18n LOGGER.warning("PhaseListener will not be processed - " + "both 'binding' and 'type' are null"); } return null; } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @return a <code>PhaseListener</code> instance * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public PhaseListener getPhaseListener() throws AbortProcessingException { PhaseListener instance = (PhaseListener) Util.getListenerInstance(type, binding); if (instance != null) { return instance; } else { if (LOGGER.isLoggable(Level.WARNING)) { // PENDING i18n LOGGER.warning("PhaseListener will not be processed - " + "both 'binding' and 'type' are null"); } return null; } } }
/** * PENDING * * @param event The {@link javax.faces.event.ActionEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public void processAction(ActionEvent event) throws AbortProcessingException { ActionListener instance = (ActionListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processAction(event); } else { if (logger.isLoggable(Level.WARNING)) { logger.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ActionListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @param event The {@link javax.faces.event.ValueChangeEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public void processValueChange(ValueChangeEvent event) throws AbortProcessingException { ValueChangeListener instance = (ValueChangeListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processValueChange(event); } else { if (LOGGER.isLoggable(Level.WARNING)) { LOGGER.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ValueChangeListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } }
/** * PENDING * * @param event The {@link javax.faces.event.ActionEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public void processAction(ActionEvent event) throws AbortProcessingException { ActionListener instance = (ActionListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processAction(event); } else { if (logger.isLoggable(Level.WARNING)) { logger.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ActionListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @param event The {@link javax.faces.event.ValueChangeEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ public void processValueChange(ValueChangeEvent event) throws AbortProcessingException { ValueChangeListener instance = (ValueChangeListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processValueChange(event); } else { if (LOGGER.isLoggable(Level.WARNING)) { LOGGER.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ValueChangeListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } }
/** * PENDING * * @param event The {@link javax.faces.event.ActionEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ @Override public void processAction(ActionEvent event) throws AbortProcessingException { ActionListener instance = (ActionListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processAction(event); } else { if (logger.isLoggable(Level.WARNING)) { logger.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ActionListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @param event The {@link javax.faces.event.ValueChangeEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ @Override public void processValueChange(ValueChangeEvent event) throws AbortProcessingException { ValueChangeListener instance = (ValueChangeListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processValueChange(event); } else { if (LOGGER.isLoggable(Level.WARNING)) { LOGGER.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ValueChangeListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } }
/** * PENDING * * @param event The {@link javax.faces.event.ActionEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ @Override public void processAction(ActionEvent event) throws AbortProcessingException { ActionListener instance = (ActionListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processAction(event); } else { if (logger.isLoggable(Level.WARNING)) { logger.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ActionListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } } }
/** * <p>Invoked when the value change described by the specified * {@link javax.faces.event.ValueChangeEvent} occurs.</p> * * @param event The {@link javax.faces.event.ValueChangeEvent} that has occurred * @throws javax.faces.event.AbortProcessingException * Signal the JavaServer Faces * implementation that no further processing on the current event * should be performed */ @Override public void processValueChange(ValueChangeEvent event) throws AbortProcessingException { ValueChangeListener instance = (ValueChangeListener) Util.getListenerInstance(type, binding); if (instance != null) { instance.processValueChange(event); } else { if (LOGGER.isLoggable(Level.WARNING)) { LOGGER.log(Level.WARNING, "jsf.core.taglib.action_or_valuechange_listener.null_type_binding", new Object[] { "ValueChangeListener", event.getComponent().getClientId(FacesContext.getCurrentInstance())}); } } }
try { listener = (ActionListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (PhaseListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (PhaseListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (ActionListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (ActionListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (PhaseListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (ValueChangeListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());
try { listener = (ValueChangeListener) Util.getListenerInstance(type, null); } catch (Exception e) { throw new JspException(e.getMessage(), e.getCause());