Examples of queueEvent()


Examples of com.liferay.faces.bridge.component.primefaces.PrimeFacesFileUpload.queueEvent()

              FacesEvent fileUploadEvent = (FacesEvent) constructor.newInstance(uiComponent,
                  defaultUploadedFile);

              // Queue the event.
              primeFacesFileUpload.queueEvent(fileUploadEvent);
            }
          }
        }
      }
    }
View Full Code Here

Examples of javax.faces.component.UICommand.queueEvent()

        UIParameter parameter = ensureTreeNodeParameter(treeNodeCommand);
        parameter.setValue(node.getId());
//        LOG.error("no longer supported: treeNodeCommand.fireActionEvent(facesContext));");
//        treeNodeCommand.fireActionEvent(facesContext); // FIXME jsfbeta
//        component.queueEvent(new ActionEvent(component));
        treeNodeCommand.queueEvent(new ActionEvent(treeNodeCommand));
      }

      UIForm form = ComponentUtil.findForm(component);
      if (form != null) {
        form.setSubmitted(true);
View Full Code Here

Examples of javax.faces.component.UICommand.queueEvent()

        UIParameter parameter = ensureTreeNodeParameter(treeNodeCommand);
        parameter.setValue(node.getId());
//        LOG.error("no longer supported: treeNodeCommand.fireActionEvent(facesContext));");
//        treeNodeCommand.fireActionEvent(facesContext); // FIXME jsfbeta
//        component.queueEvent(new ActionEvent(component));
        treeNodeCommand.queueEvent(new ActionEvent(treeNodeCommand));
      }

      UIForm form = ComponentUtil.findForm(component);
      if (form != null) {
        form.setSubmitted(true);
View Full Code Here

Examples of javax.faces.component.UICommand.queueEvent()

        UIParameter parameter = ensureTreeNodeParameter(treeNodeCommand);
        parameter.setValue(node.getId());
//        LOG.error("no longer supported: treeNodeCommand.fireActionEvent(facesContext));");
//        treeNodeCommand.fireActionEvent(facesContext); // FIXME jsfbeta
//        component.queueEvent(new ActionEvent(component));
        treeNodeCommand.queueEvent(new ActionEvent(treeNodeCommand));
      }

      UIForm form = ComponentUtil.findForm(component);
      if (form != null) {
        form.setSubmitted(true);
View Full Code Here

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

        UIComponent parent = getParent();
        if (parent == null)
        {
            throw new IllegalStateException();
        }
        parent.queueEvent(event);
    }

    public void queueEventImmediate(FacesEvent event)
    {
        if (event instanceof ActionEvent)
View Full Code Here

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

        UIComponent parent = getParent();
        if (parent == null)
        {
            throw new IllegalStateException();
        }
        parent.queueEvent(event);
    }
}
View Full Code Here

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

    if (facesEvent.getComponent() == this
        && (facesEvent instanceof SheetStateChangeEvent
        || facesEvent instanceof PageActionEvent)) {
      facesEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
      LOG.info("queueEvent = \"" + facesEvent + "\"");
      parent.queueEvent(facesEvent);
    } else {
      UIComponent source = facesEvent.getComponent();
      UIComponent sourceParent = source.getParent();
      if (sourceParent.getParent() == this
          && source.getId() != null && source.getId().endsWith(SORTER_ID)) {
View Full Code Here

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

    UIComponent parent = getParent();
    if (parent == null)
      throw new IllegalStateException();

    parent.queueEvent(event);
  }

  // ----------------------------------------------- Lifecycle Phase Handlers

  @Override
View Full Code Here

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

    UIComponent parent = getParent();
    if (parent == null)
      throw new IllegalStateException();

    parent.queueEvent(event);
  }

  // ----------------------------------------------- Lifecycle Phase Handlers

  @Override
View Full Code Here

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

    UIComponent parent = getParent();
    if (parent == null) {
      throw new IllegalStateException(
          "No parent component for queue event");
    } else {
      parent.queueEvent(event);
    }
  }

  public void broadcast(FacesEvent event) throws AbortProcessingException {
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.