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:
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:
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?
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}
);
If I try to override the behavior using addDayBodyClickHandler:
Code:
cal.addDayBodyClickHandler(new DayBodyClickHandler() {
public void onDayBodyClick(DayBodyClickEvent event) {
..
}
});
Also, has anyone successfully done drag and drop to and from calendars?
Comment