You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.in the month view, the added appointments don't show
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
GWT-2.0.3
NetBeans 6.8
Please provide any additional information below.
Calendar calendar = new Calendar();
calendar.setDate(new Date()); //calendar date, not required
calendar.setView(CalendarViews.MONTH); //number of days displayed
at a time, not required
calendar.setWidth("500px");
calendar.setHeight("400px");
Appointment appt = new Appointment();
Appointment appt2 = new Appointment();
Date s=new Date();
appt.setStart(s);
appt2.setStart(s);
s.setHours(s.getHours()+4);
appt.setEnd(s);
appt2.setEnd(s);
appt.setTitle("test");
appt.setDescription("test");
appt2.setTitle("test2");
appt2.setDescription("test2");
calendar.addAppointment(appt);
calendar.addAppointment(appt2);
// calendar.addAppointment(appt);
RootPanel.get().add(calendar);
Original issue reported on code.google.com by bienvenueqin@gmail.com on 14 Apr 2010 at 3:41
This is a known bug with the MonthView only (it works fine with the DayView).
The
recommended workaround it add your calendar to the root panel *first*, then you
can add
appointments.
Original comment by Brad.Ryd...@gmail.com on 14 Apr 2010 at 4:28
Original issue reported on code.google.com by
bienvenueqin@gmail.com
on 14 Apr 2010 at 3:41Attachments:
The text was updated successfully, but these errors were encountered: