Examples of AjaxEvent


Examples of org.ajax4jsf.event.AjaxEvent

            new SwitchablePanelSwitchEvent(panel, null, eventTab).queue();
            new ActionEvent(eventTab).queue();

            if (UISwitchablePanel.AJAX_METHOD.equals(eventTab.getSwitchTypeOrDefault()))
            {
                new AjaxEvent(eventTab).queue();
            }
        } else {
            String newValue = (String) requestParameterMap.get(clientId);
           
            if (null != newValue) {
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

    MethodBinding binding = null;

    if (event instanceof NodeExpandedEvent) {
      binding = eventsProducer.getChangeExpandListener();
      if (event instanceof AjaxExpandedEvent) {
        new AjaxEvent(event.getComponent()).queue();
      }
    } else if (event instanceof AjaxSelectedEvent) {
      if (eventsProducer.hasAjaxSubmitSelection()) {
        binding = eventsProducer.getNodeSelectListener();
        new AjaxEvent(event.getComponent()).queue();
      }
    } else if (event instanceof NodeSelectedEvent) {
      binding = eventsProducer.getNodeSelectListener();
    } else if (event instanceof DropEvent) {
      if (((DropEvent) event).isValid()) {
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

  public void queueEvent(FacesEvent event) {
   
    if(event instanceof AjaxEvent){
      event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
    }else if(event instanceof SortEvent){
      new AjaxEvent(this).queue();
      event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
    }else if(event instanceof ScrollableGridViewEvent){
      event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
      new AjaxEvent(this).queue();
    }
    super.queueEvent(event);
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

        MethodBinding binding = getDropListener();
        if (binding != null) {
          binding.invoke(getFacesContext(), new Object[] {event});
        }

        new AjaxEvent(this).queue();
        new ActionEvent(this).queue();
      }
    }
  }
View Full Code Here

Examples of org.ajax4jsf.event.AjaxEvent

          }

          event.queue();
        }
       
        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".equals(tooltip.getMode())){
        new AjaxEvent(component).queue();
        new ActionEvent(component).queue();
      }
    }
  }
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

        MethodBinding binding = getDragListener();
        if (binding != null) {
          binding.invoke(getFacesContext(), new Object[] {event});
        }

        new AjaxEvent(this).queue();
        new ActionEvent(this).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

            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
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.