Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Calendar Issues

    I am working on a new Timesheet application, and I want to use the timesheet to enable time recording. I have run into a numer of issues however.

    The most annoying one is that I can't seem to override the default fields:
    Code:
           cal.setStartDateField("Start");
            cal.setEndDateField("Stop"); 
            cal.setDescriptionField("workdesc");
    
            cal.setEventDialogFields(
                    new FormItem[]{workItems}
            );
    It still shows three items on the pop up - the desc field, the workItem field, and the submit button.

    If I try to override the behavior using addDayBodyClickHandler:
    Code:
            cal.addDayBodyClickHandler(new DayBodyClickHandler() {
    
                public void onDayBodyClick(DayBodyClickEvent event) {
                    
    ..
                }
            });
    The handler does not appear to ever be called. Any ideas on how to change this behavior?

    Also, has anyone successfully done drag and drop to and from calendars?

    #2
    Do I need to start looking at the JavaScript to do this?

    Comment


      #3
      We're looking into this. Will get back to you shortly.

      Thanks.

      Comment

      Working...
      X