Examples of queue()


Examples of org.richfaces.component.event.SearchEvent.queue()

            } else if (SUGGEST_FACET_EVENT.equals(eventTypeParam)) {
                new FacetSuggestionEvent(component, searchTermParam).queue();
            } else if (SEARCH_EVENT.equals(eventTypeParam)) {
                final SearchEvent searchEvent = new SearchEvent(component);
                searchEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
                searchEvent.queue();
            }
        }
    }

    @Override
View Full Code Here

Examples of org.richfaces.event.CurrentDateChangeEvent.queue()

    if (currentDateString != null) {
      CurrentDateChangeEvent ev = new CurrentDateChangeEvent(component,
          currentDateString);
      ev.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
      ev.queue();
    }

    if (requestParameterMap.get(clientId + CURRENT_DATE_PRELOAD) != null) {
      // TODO nick - nick - queue this event when ValueChangeEvent is
      // queued?
View Full Code Here

Examples of org.richfaces.event.DataFilterSliderEvent.queue()

        } else {
            dataFilterSlider.setHandleValue(newSliderVal);
           
            DataFilterSliderEvent event = new DataFilterSliderEvent(dataFilterSlider, oldSliderVal, newSliderVal);
//            dataFilterSlider.queueEvent(event);
            event.queue();
            if (dataFilterSlider.isStoreResults()) {
                dataFilterSlider.filterDataTable(newSliderVal.intValue());
            }

        }
View Full Code Here

Examples of org.richfaces.event.DataScrollerEvent.queue()

        int newPage = scroller.getPageForFacet(param);
        int page = scroller.getPage();
        if (newPage != 0 && newPage != page) {
          DataScrollerEvent event = new DataScrollerEvent(scroller,
              String.valueOf(page), param, newPage);
          event.queue();

        }
       
            if (AjaxRendererUtils.isAjaxRequest(context)) {
                AjaxContext.getCurrentInstance(context)
View Full Code Here

Examples of org.richfaces.event.DragEvent.queue()

        DragEvent dragEvent = new DragEvent((UIComponent) draggable);
        dragEvent.setDropTarget(dropzone);
        dragEvent.setAcceptedTypes(acceptedTypes);
        dragEvent.setDropValue(dropValue);

        dragEvent.queue();
      } else {
        //invalidate
        this.valid = false;
        //store label for message output
        this.draggableLabel = MessageUtil.getLabel(context, (UIComponent) draggable);
View Full Code Here

Examples of org.richfaces.event.DropEvent.queue()

            DropEvent dropEvent = new DropEvent(component);
            dropEvent.setDraggableSource(draggable);
            dropEvent.setDragType(draggableDecoderContextCallback.getDragType());
            dropEvent.setDragValue(draggableDecoderContextCallback.getDragValue());

            dropEvent.queue();
          } else {
            String text = MessageFormat.format(
                MISTYPED_DND_MESSAGE,
                new Object[] {
                    MessageUtil.getLabel(context, component),
View Full Code Here

Examples of org.richfaces.event.ItemChangeEvent.queue()

        // TODO nick - is component immediate = true only?
        // TODO nick - processValue should be executed in context of component, i.e. when 'component' EL variable is set

        ItemChangeEvent event = createItemChangeEvent(context);
        if (event != null) {
            event.queue();
        }
    }

    public void queueEvent(FacesEvent event) {
        if ((event instanceof ItemChangeEvent) && (event.getComponent() == this)) {
View Full Code Here

Examples of org.richfaces.event.SimpleToggle2Event.queue()

                if (panel.isImmediate()) {
                    event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
                } else {
                    event.setPhaseId(PhaseId.INVOKE_APPLICATION);
                }
                event.queue();
               
            } else {
                if (panel.isOpened()!= new Boolean((String) clnId).booleanValue()){
                    SimpleToggle2Event event = new SimpleToggle2Event(panel, (panel.isOpened()));
                    if (panel.isImmediate()) {
View Full Code Here

Examples of org.richfaces.event.SimpleToggleEvent.queue()

        submittedState = !currentState;
      }

      if (currentState != submittedState) {
        SimpleToggleEvent event = new SimpleToggleEvent(panel, submittedState);
        event.queue();

        SimpleTogglePanelSwitchEvent stateEvent = new SimpleTogglePanelSwitchEvent(panel, submittedState);
        stateEvent.queue();
      }
View Full Code Here

Examples of org.richfaces.event.SimpleTogglePanelSwitchEvent.queue()

      if (currentState != submittedState) {
        SimpleToggleEvent event = new SimpleToggleEvent(panel, submittedState);
        event.queue();

        SimpleTogglePanelSwitchEvent stateEvent = new SimpleTogglePanelSwitchEvent(panel, submittedState);
        stateEvent.queue();
      }

      // in case of "ajax" request and "ajax" switch mode of toggle panel
      // set the regions to be rendered (reRendered) after operating this
      // "ajax" request
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.