Package org.primefaces.event

Examples of org.primefaces.event.ScheduleEntrySelectEvent


     
      //Event select
      if(params.containsKey(selectedEventParam)) {
        String eventId = params.get(selectedEventParam);
        ScheduleEvent selectedEvent = model.getEvent(eventId);
        schedule.queueEvent(new ScheduleEntrySelectEvent(schedule, selectedEvent));
      }
      //Date Select
      else if(params.containsKey(selectedDateParam)) {
        String dateAsString = params.get(selectedDateParam);
        schedule.queueEvent(new DateSelectEvent(component, new Date(Long.valueOf(dateAsString))));
View Full Code Here


            }
            else if(eventName.equals("eventSelect")) {
                String selectedEventId = params.get(clientId + "_selectedEventId");
        ScheduleEvent selectedEvent = this.getValue().getEvent(selectedEventId);

                wrapperEvent = new ScheduleEntrySelectEvent(this, behaviorEvent.getBehavior(), selectedEvent);
            }
            else if(eventName.equals("eventMove")) {
                String movedEventId = params.get(clientId + "_movedEventId");
        ScheduleEvent movedEvent = this.getValue().getEvent(movedEventId);
                int dayDelta = Integer.valueOf(params.get(clientId + "_dayDelta"));
View Full Code Here

     
      //Event select
      if(params.containsKey(selectedEventParam)) {
        String eventId = params.get(selectedEventParam);
        ScheduleEvent selectedEvent = model.getEvent(eventId);
        schedule.queueEvent(new ScheduleEntrySelectEvent(schedule, selectedEvent));
      }
      //Date Select
      else if(params.containsKey(selectedDateParam)) {
        String dateAsString = params.get(selectedDateParam);
        schedule.queueEvent(new DateSelectEvent(component, new Date(Long.valueOf(dateAsString))));
View Full Code Here

TOP

Related Classes of org.primefaces.event.ScheduleEntrySelectEvent

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.