@Override public FacesContext getFacesContext() { return new RedirectMessageFacesContext(wrapped.getFacesContext(), message); } }
@Override public FacesContext getFacesContext() { return new RedirectMessageFacesContext(wrapped.getFacesContext(), message); } }
/** * <p> * In addition to to the default {@link UIComponent#broadcast} processing, pass the * {@link ActionEvent} being broadcast to the method referenced by <code>actionListener</code> * (if any), and to the default {@link ActionListener} registered on the * {@link javax.faces.application.Application}. * </p> * * @param event {@link FacesEvent} to be broadcast * * @throws AbortProcessingException Signal the JavaServer Faces implementation that no further * processing on the current event should be performed * @throws IllegalArgumentException if the implementation class of this {@link FacesEvent} is * not supported by this component * @throws NullPointerException if <code>event</code> is <code>null</code> */ @Override public void broadcast(FacesEvent event) throws AbortProcessingException { // Perform standard superclass processing (including calling our // ActionListeners) super.broadcast(event); if (event instanceof ActionEvent) { FacesContext context = event.getFacesContext(); // Invoke the default ActionListener ActionListener listener = context.getApplication().getActionListener(); if (listener != null) { listener.processAction((ActionEvent) event); } } }
/** * <p> * In addition to to the default {@link UIComponent#broadcast} processing, pass the * {@link ActionEvent} being broadcast to the method referenced by <code>actionListener</code> * (if any), and to the default {@link ActionListener} registered on the * {@link javax.faces.application.Application}. * </p> * * @param event {@link FacesEvent} to be broadcast * * @throws AbortProcessingException Signal the JavaServer Faces implementation that no further * processing on the current event should be performed * @throws IllegalArgumentException if the implementation class of this {@link FacesEvent} is * not supported by this component * @throws NullPointerException if <code>event</code> is <code>null</code> */ @Override public void broadcast(FacesEvent event) throws AbortProcessingException { // Perform standard superclass processing (including calling our // ActionListeners) super.broadcast(event); if (event instanceof ActionEvent) { FacesContext context = event.getFacesContext(); // Invoke the default ActionListener ActionListener listener = context.getApplication().getActionListener(); if (listener != null) { listener.processAction((ActionEvent) event); } } }
FacesContext context = event.getFacesContext();
FacesContext context = event.getFacesContext();
FacesContext context = event.getFacesContext();
FacesContext context = event.getFacesContext();
FacesContext context = event.getFacesContext();
FacesContext context = event.getFacesContext(); if (!(event instanceof ActionEvent)) { throw new IllegalArgumentException();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
return; FacesContext context = event.getFacesContext();
int prevIndex = this.index; FacesEvent target = idxEvent.getTarget(); FacesContext ctx = target.getFacesContext(); UIComponent source = target.getComponent(); UIComponent compositeParent = null;
int prevIndex = this.index; FacesEvent target = idxEvent.getTarget(); FacesContext ctx = target.getFacesContext(); UIComponent source = target.getComponent(); UIComponent compositeParent = null;
int prevIndex = this.index; FacesEvent target = idxEvent.getTarget(); FacesContext ctx = target.getFacesContext(); UIComponent source = target.getComponent(); UIComponent compositeParent = null;