Package org.ajax4jsf.event

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) {
                new SwitchablePanelSwitchEvent(panel, newValue, null).queue();
View Full Code Here


            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) {
                new SwitchablePanelSwitchEvent(panel, newValue, null).queue();
View Full Code Here

      ev.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
      ev.queue();

      // TODO nick - nick - queue this event when ValueChangeEvent is
      // queued?
      new AjaxEvent(component).queue();

    }

    String selectedDateString = (String) requestParameterMap.get(clientId
        + "InputDate");
View Full Code Here

    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

        ajaxForm.processValidators(facesContext);
        ajaxForm.processUpdates(facesContext);
    }

    public void testBroadcast() throws Exception {
        AjaxEvent event = new AjaxEvent(ajaxForm);

        try {
            ajaxForm.broadcast(event);
        } catch (Exception e) {
            fail();
View Full Code Here

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

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

   */
  @Override
  @SuppressWarnings("unchecked")
  protected void doDecode(FacesContext context, UIComponent component) {
   
    new AjaxEvent(component).queue();
   
    ExternalContext externalContext = context.getExternalContext();
    Map<String, String> requestParameterMap = externalContext.getRequestParameterMap();
    String fileUploadIndicator = requestParameterMap.get(FileUploadConstants.FILE_UPLOAD_INDICATOR);

View Full Code Here

   
    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

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

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

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

TOP

Related Classes of org.ajax4jsf.event.AjaxEvent

Copyright © 2018 www.massapicom. 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.