Examples of AjaxEvent


Examples of org.ajax4jsf.event.AjaxEvent

    if (null != ajaxParameter && ajaxParameter.equals(clientId)) {
      ajaxContainer.setSubmitted(true);
      if (ajaxContainer.isSelfRendered()) {
        AjaxContext.getCurrentInstance(context).setSelfRender(true);
      }
      AjaxEvent event = new AjaxEvent(component);
      component.queueEvent(event);
    } else {
      ajaxContainer.setSubmitted(false);
    }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

    // super.decode must not be called, because value is handled here
    if (isSubmitted(facesContext, uiComponent)) {
      ActionEvent event;
      event = new ActionEvent(uiComponent);
      uiComponent.queueEvent(event);
      uiComponent.queueEvent(new AjaxEvent(uiComponent));
      // Check areas for processing
      if (uiComponent instanceof AjaxComponent) {
        AjaxComponent ajaxComponent = (AjaxComponent) uiComponent;
        Set<String> toProcess = AjaxRendererUtils.asSet(ajaxComponent
            .getProcess());
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

            component.getClientId(context));
    form.setSubmitted(submitted);
    if (component instanceof UIAjaxForm) {
        UIAjaxForm ajaxForm = (UIAjaxForm) component;
      if (submitted && ajaxForm.isAjaxSubmit()) {
        component.queueEvent(new AjaxEvent(component));
      }       
    }
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

      UITogglePanel panel = control.getPanel();

          new SwitchablePanelSwitchEvent(panel, null, control).queue();
     
        if (UITogglePanel.AJAX_METHOD.equals(panel.getSwitchType())) {
           new AjaxEvent(component).queue();
          
                // add regions specified in the "reRender" attribute of toggle
                // panel to rendered list of components
                AjaxRendererUtils.addRegionsFromComponent(control, context);
               
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

            if (AjaxRendererUtils.isAjaxRequest(context)) {
                AjaxContext.getCurrentInstance(context)
                    .addAreasToProcessFromComponent(context, component);
            }
           
        new AjaxEvent(component).queue();
      }
    }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

  protected void doDecode(FacesContext context, UIComponent component) {
    if(isSubmitted(context, component)) {
      UIPanelMenuItem item = (UIPanelMenuItem)component;
      new ActionEvent(component).queue();
            if ("ajax".equals(getItemMode(component))) {
                new AjaxEvent(component).queue();
            }
    }
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

     
    }
    if(isSubmitted(context, component)){
            new ActionEvent(component).queue();
            if ("ajax".equals(getItemMode(component))) {
                new AjaxEvent(component).queue();
            }
    }
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

       
        String clientId = tooltip.getClientId(context);
       
        if (context.getExternalContext().getRequestParameterMap().containsKey(clientId)) {
            if (AJAX_MODE.equals(tooltip.getMode())) {
                new AjaxEvent(component).queue();
                new ActionEvent(component).queue();
            }
        }
    }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

   * @see org.ajax4jsf.renderkit.AjaxCommandRendererBase#doDecode(javax.faces.context.FacesContext,
   *      javax.faces.component.UIComponent)
   */
  @Override
  protected void doDecode(FacesContext facesContext, UIComponent uiComponent) {
    new AjaxEvent(uiComponent).queue();
    //uiComponent.queueEvent(new ActionEvent(uiComponent));
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

    }

    if (requestParameterMap.get(clientId + CURRENT_DATE_PRELOAD) != null) {
      // TODO nick - nick - queue this event when ValueChangeEvent is
      // queued?
      new AjaxEvent(component).queue();

      AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
      if (ajaxContext.isAjaxRequest(context)) {
        ajaxContext.addAreasToProcessFromComponent(context, component);
      }
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.