Examples of broadcastEventsForPhase()


Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

      // TODO: handle phaseListeners ??

      if (!facesContext.getRenderResponse()) {
        component.processValidators(facesContext);
        viewRoot.broadcastEventsForPhase(facesContext, PhaseId.PROCESS_VALIDATIONS);
      } else if (LOG.isDebugEnabled()) {
        LOG.debug("Skipping validate");
      }

      if (!facesContext.getRenderResponse()) {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

        LOG.debug("Skipping validate");
      }

      if (!facesContext.getRenderResponse()) {
        component.processUpdates(facesContext);
        viewRoot.broadcastEventsForPhase(facesContext, PhaseId.UPDATE_MODEL_VALUES);
      } else if (LOG.isDebugEnabled()) {
        LOG.debug("Skipping updates");
      }

      if (!facesContext.getRenderResponse()) {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

      // TODO: handle phaseListeners ??

      if (!facesContext.getRenderResponse()) {
        component.processValidators(facesContext);
        viewRoot.broadcastEventsForPhase(facesContext, PhaseId.PROCESS_VALIDATIONS);
      } else if (LOG.isDebugEnabled()) {
        LOG.debug("Skipping validate");
      }

      if (!facesContext.getRenderResponse()) {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

        LOG.debug("Skipping validate");
      }

      if (!facesContext.getRenderResponse()) {
        component.processUpdates(facesContext);
        viewRoot.broadcastEventsForPhase(facesContext, PhaseId.UPDATE_MODEL_VALUES);
      } else if (LOG.isDebugEnabled()) {
        LOG.debug("Skipping updates");
      }

      if (!facesContext.getRenderResponse()) {
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

        // TODO: invokeOnComponent()
        ComponentUtil.invokeOnComponent(facesContext, entry.getKey(), ajaxComponent, callback);
//        ajaxComponent.processValidators(facesContext);
      }
      UIViewRoot viewRoot = ((UIViewRoot) facesContext.getViewRoot());
      viewRoot.broadcastEventsForPhase(facesContext, PROCESS_VALIDATIONS);
    } else {
      facesContext.getViewRoot().processValidators(facesContext);
    }
    return false;
  }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

        // TODO: invokeOnComponent()
        ComponentUtil.invokeOnComponent(facesContext, entry.getKey(), ajaxComponent, callback);
//        ajaxComponent.processUpdates(facesContext);
      }
      UIViewRoot viewRoot = ((UIViewRoot) facesContext.getViewRoot());
      viewRoot.broadcastEventsForPhase(facesContext, UPDATE_MODEL_VALUES);
    } else {
      facesContext.getViewRoot().processUpdates(facesContext);
    }
    return false;
  }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIViewRoot.broadcastEventsForPhase()

        // TODO: invokeOnComponent()
        ComponentUtil.invokeOnComponent(facesContext, entry.getKey(), ajaxComponent, callback);
      }

      UIViewRoot viewRoot = ((UIViewRoot) facesContext.getViewRoot());
      viewRoot.broadcastEventsForPhase(facesContext, APPLY_REQUEST_VALUES);

    } else {
      facesContext.getViewRoot().processDecodes(facesContext);
    }
    return false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.