Package javax.faces.component

Examples of javax.faces.component.UIComponent.broadcast()


            }

            setupEventContext(context);

            targetComponent.pushComponentToEL(context, null);
            targetComponent.broadcast(event);
        } finally {
            try {
                dataAdaptor.setRowKey(context, initialRowKey);
            } catch (Exception e) {
                LOGGER.error(e.getMessage(), e);
View Full Code Here


      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == ANY_PHASE_ORDINAL
          || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == ANY_PHASE_ORDINAL
          || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

    while (havePhaseEvents) {
      try {
        event = (FacesEvent) phaseEventsQueue.remove();
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (AbortProcessingException e) {
          if (_log.isErrorEnabled()) {
            UIComponent component = event.getComponent();
            String id = null != component ? component
                .getClientId(context) : "";
View Full Code Here

      FacesEvent event = listiterator.next();
      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == PhaseId.ANY_PHASE.getOrdinal() || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

  while (havePhaseEvents) {
      try {
    event = (FacesEvent) phaseEventsQueue.remove();
    UIComponent source = event.getComponent();
    try {
        source.broadcast(event);
    } catch (AbortProcessingException e) {
        // abort event processing
        // Page 3-30 of JSF 1.1 spec: "Throw an
        // AbortProcessingException, to tell the JSF
        // implementation
View Full Code Here

      FacesEvent event = listiterator.next();
      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == PhaseId.ANY_PHASE.getOrdinal() || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == ANY_PHASE_ORDINAL
          || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

      int ordinal = event.getPhaseId().getOrdinal();
      if (ordinal == ANY_PHASE_ORDINAL
          || ordinal == phaseIdOrdinal) {
        UIComponent source = event.getComponent();
        try {
          source.broadcast(event);
        } catch (FacesException e) {
          Throwable fe = e;
          while (fe != null) {
            if (fe instanceof AbortProcessingException) {
              if (LOG.isTraceEnabled()) {
View Full Code Here

        WrapperEvent wrapperEvent = (WrapperEvent) event;
        FacesEvent originalEvent = wrapperEvent.getFacesEvent();
        UIComponent originalSource = (UIComponent) originalEvent.getSource();
        setRowKey(wrapperEvent.getRowKey());
       
        originalSource.broadcast(originalEvent);
    }
   
    @Override
    public void processDecodes(FacesContext context) {
        pushComponentToEL(context, this);
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.