natros / gwt-cal Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gwt-cal
Automatically exported from code.google.com/p/gwt-cal
Description of the new feature:
make pom.xml version 0.9-SNAPSHOT
Use Case:
no need to manually delete 0.9.0 jar from maven repo when new jar is built.
Assumptions:
1.
2.
3.
Exceptions:
1.
2.
3.
Code / psuedo-code:
<version>0.9-SNAPSHOT</version>
Original issue reported on code.google.com by [email protected]
on 18 Feb 2010 at 10:27
Description of the new feature:
Enable Drag and Drop - CalendarSettings has a flag for enabling this, but
it looks like it is not implemented yet. Is this correct?
Thanks.
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 11:19
In the MonthView, if a Day ONLY has MultiDayAppointment, the "+ n more"
label doesn't appear
To Repeat:
Drag and drop a few multidays on a date that has no appointments, until
there are more multi days than the cell can display. You will see no label
appears.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2010 at 6:34
Most of the string of the widget are not localized (names of days and
months, hours in dayview).
The AgendaView is localized but use "DateTimeFormat.getFormat("EEE MMM
d");" to format dates, where IMO "DateTimeFormat.getLongDateFormat()" would
be a better fit.
I used something like this, for a time picker:
for (int h =0; h<24; h++){
for (int m : new int[]{0, 30}){
tmpList[pos] = new Date(2009, 1, 1, h, m);
pos++;
}
}
If everybody is ok with the idea, I can provide a patch that will take care
of this across gwt-cal.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2009 at 3:31
Hi Brad,
Here's the issue as we talked on emails:
I'm working with the 0.9 branch and syncing with your changes in the
repository. I've seen that at some point (I think between rev 270 and
287) the DayView is not drawn properly.
If you scroll up to the beginning of the day, appears an empty
interval, and another empty interval appears if you scroll down to the
end of the day.
Attached you can find 2 screenshots.
I've done my tests with the next combinations:
Windows XP SP3 - Firefox 3.6.2 & Google Chrome 5.0.342.8
Ubuntu 9.10 - Firefox 3.6.2
So doesn't seem to be related with the OS.
Please, tell me if I can help you with something. Anyway I'll try to debug
it this week.
Best Regards,
Carlos.
Original issue reported on code.google.com by ctasada
on 30 Mar 2010 at 10:07
Attachments:
Upload the source code for the following demo:
http://google.latest.gwt-web-calendar.appspot.com/
Original issue reported on code.google.com by [email protected]
on 15 Jul 2009 at 10:07
What steps will reproduce the problem?
1.Select last appointment using arrow keys
2.Use the arrow keys to select the "next" appointment
What is the expected output? What do you see instead?
The cursor should stay selecting the current appointment. The cursor does
stay selecting the last appointment, but the arrow key functionality stops
working correctly because of the crash.
What version of the product are you using? On what operating system?
gwt-cal 8.2
gwt 1.7
windows xp
Please provide any additional information below.
[ERROR] Uncaught exception escaped
java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at
com.bradrydzewski.gwt.calendar.client.CalendarView.selectNextAppointment(Calenda
rView.java:145)
at
com.bradrydzewski.gwt.calendar.client.DayView.keyboardNavigation(DayView.java:32
8)
at com.bradrydzewski.gwt.calendar.client.DayView$3.onKeyDown(DayView.java:113)
at com.google.gwt.event.dom.client.KeyDownEvent.dispatch(KeyDownEvent.java:54)
at com.google.gwt.event.dom.client.KeyDownEvent.dispatch(KeyDownEvent.java:1)
at
com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerMana
ger.java:65)
at
com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManag
er.java:53)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:90)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1320)
at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1299)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1262)
at sun.reflect.GeneratedMethodAccessor348.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at
org.eclipse.swt.internal.ole.win32.IOleInPlaceActiveObject.TranslateAccelerator(
IOleInPlaceActiveObject.java:22)
at
org.eclipse.swt.ole.win32.OleFrame.translateOleAccelerator(OleFrame.java:734)
at org.eclipse.swt.ole.win32.OleFrame.getMsgProc(OleFrame.java:210)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2389)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963)
at
com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
Original issue reported on code.google.com by [email protected]
on 13 Aug 2009 at 6:22
Sorry to bother you with this question again, but my boss is more impatient
than me ... Will the 0.9 release contain a norwegian property file as asked
for in issue 18? I can't see such file in your source tree. Our users will
definitely not love english weekdays and time. (I notice that after my last
request the start day of week has appeared, it should for us be monday.)
Our project has implemented the 0.8.2 version of gwt-cal, and I'd liked to
wait for 0.9 before starting to rewrite? Is there determined a release time
now, or will the changes compared to 0.9beta1 be minor so I can start with
this and later switch to 0.9 without too big problems?
(I'm not sure if this is the right way to contact you, but can't find a
better way.)
Regards,
Terje
Original issue reported on code.google.com by [email protected]
on 26 Mar 2010 at 2:57
I am working on a calendar for and this has been a big help. I created a
.css file that has the Google Calendars colors for appointments Hope you
can use it.
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 3:11
Attachments:
Bonjour,
I see the style for calendar such as gwt-calendar,but I can not find
the css file. where is it? thank you very much
Original issue reported on code.google.com by [email protected]
on 19 Apr 2010 at 2:09
What steps will reproduce the problem?
1. Calendar calendar = new Calendar();
2. calendar.setView(CalendarViews.MONTH);
3. Appointment appt = new Appointment();
4. RootPanel.get().add(calendar);
5. calendar.add(appt);
What is the expected output? What do you see instead?
Expected the Appointment set an a given day to show up in the Calendar
renderd in the browser, but this will not happen for any appointment added
before adding the Calendar to the RootPanel (or other panel)
What version of the product are you using? On what operating system?
Using 0.9 beta, on Windows Vista with Chrome as browser.
Please provide any additional information below.
Currently I solve this by saving all my Appointments added before adding
the calendar to some panel, from calendar.getAppointements(); and re add
them after adding the calendar to the panel.
Example Code (Where Appointment isn't showing up):
Calendar calendar = new Calendar();
calendar.setDate(new Date());
calendar.setWidth("800px");
calendar.setHeight("800px");
calendar.setView(CalendarViews.MONTH);
Appointment appt = new Appointment();
appt.setStart(lastSetStartTime);
Date stop = new Date();
stop.setHours(stop.getHours()+2);
appt.setEnd(stop);
appt.setTitle("Test");
calendar.addAppointment(appt);
RootPanel.get().add(calendar);
Example code where it works:
Calendar calendar = new Calendar();
calendar.setDate(new Date());
calendar.setWidth("800px");
calendar.setHeight("800px");
calendar.setView(CalendarViews.MONTH);
Appointment appt = new Appointment();
appt.setStart(lastSetStartTime);
Date stop = new Date();
stop.setHours(stop.getHours()+2);
appt.setEnd(stop);
appt.setTitle("Test");
RootPanel.get().add(calendar); // <-- Moved one line up (Only change)
calendar.addAppointment(appt);
Original issue reported on code.google.com by [email protected]
on 17 Mar 2010 at 1:45
In version 082 I used the following code:
...
Appointment a = new Appointment();
SpanElement se = Document.get().createSpanElement();
...
a.getMoveHandle().getElement().appendChild(se);
...
The project is now ported to 09beta, but I'm not able to implement the code
snippet above. I've seen that this is moved to AppointmentWidget, but how
do I access the widget?
Regards,
Terje
Original issue reported on code.google.com by [email protected]
on 15 Apr 2010 at 12:20
What steps will reproduce the problem?
1.in a month view drag and drop to an other day a 2 hours appointment to an
other day
2.go in a day view the appointment will render only one segment on time
(for me only 20 minutes).
3. problem occur in the demo so i think it's not my fault
a quick way to prevent this ?? before i fix in a next release ?
tested on WinXp,Win Vista, Ubuntu 9.04,
with following browser : chrome,firefox 3.5.7 and 3.6
sorry for my english it's not my native language.
thank for your hard work and you're great cal
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 2:20
Description of the new feature:
1) Create a new event handler for when a user clicks a time block. Get the Date
/
time for the clicked time block and provide as part of event args.
2) Allow developer to set click behavior in CalendarSettings, such as single
vs.
double click
Use Case:
User clicks a time block with the intent of creating a new appointment
calendar.addTimeBlockClickHandler(){
public void onCreate(TimeBlockClickEvent<Date> event) {
event.getStartDate() .....
.....
}
};
Original issue reported on code.google.com by [email protected]
on 26 Jul 2009 at 6:05
In any case, this method always return false.
What version of the product are you using? On what operating system?
0.8.2
Please provide any additional information below.
===================================================================
---
src/main/java/com/bradrydzewski/gwt/calendar/client/util/AppointmentUtil.java
(revision 102)
+++
src/main/java/com/bradrydzewski/gwt/calendar/client/util/AppointmentUtil.java
(working copy)
@@ -47,7 +47,7 @@
if(appt.getStart().getDate() == appt.getEnd().getDay()) {
if(appt.getStart().getMonth() == appt.getEnd().getMonth()){
if(appt.getStart().getYear() == appt.getEnd().getYear()){
- return false;
+ return true;
}
}
}
Original issue reported on code.google.com by fernando.rosado
on 14 Sep 2009 at 3:05
What steps will reproduce the problem?
1. create a new Calendar(settings)
2. calendar.setView(CalendarViews.MONTH)
3. add an appointment with a set css style
What is the expected output? What do you see instead?
actual The appointment rendered in the month view only has a css "appointment"
expected The appointment render the in the month view should have the css style
the
appointment specfies
What version of the product are you using? On what operating system?
0.9 branch on osx snow leopard
Please provide any additional information below.
This seems like a one line fix in MonthView.java
MonthView#layOnAppointment(Appointment appointment, int colStart,int colEnd,
int row, int
cellPosition) {
...
panel.setStyleName("appointment"); // should change to
panel.setStyleName(appointment.getStyle());
..
}
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 8:22
What steps will reproduce the problem?
1.create a MonthView into rootPanel or DockPanel
What is the expected output? What do you see instead?
a view in the panel
What version of the product are you using? On what operating system?
Version: GWT - 2.0.3
Please provide any additional information below.
MonthView month=new MonthView();
RootPanel.get().add(month);
there is an error
Original issue reported on code.google.com by [email protected]
on 14 Apr 2010 at 9:40
What steps will reproduce the problem?
1.just execute "svn checkout http://gwt-cal.googlecode.com/svn/trunk/
gwt-cal-read-only" from command-line
What is the expected output? What do you see instead?
I get the following error message:
svn: RA layer request failed
svn: The path was not part of a repository
svn: PROPFIND of /: 400 Bad request. Method Unknown
What version of the product are you using? On what operating system?
I have tried with subtigris,tortoise
OS : windows XP
Please provide any additional information below.
I am not behind a proxy.
I have also added the repository into eclipse (suntigris svn) getting a
similar error.
thanks
Original issue reported on code.google.com by [email protected]
on 25 Feb 2010 at 9:37
Hey Carlos,
When dragging multi-day appointments in the MonthView it seems to be
highlighting the day cells incorrectly.
For example, if I am dragging a 2-day appointment it highlights 1 day, and
if I am dragging a 3-day appointment it highlights 2 days.
I checked a prior version that we had deployed and it seemed to work fine
http://google.latest.gwt-web-calendar.appspot.com/
Maybe a minor bug when adding the startsWithDay functionality? I couldn't
tell so I was hoping you could take a look please
Original issue reported on code.google.com by [email protected]
on 29 Mar 2010 at 12:13
What steps will reproduce the problem?
Calendar myCal = new Calendar() ;
myCal.setView(CalendarViews.MONTH) ;
myCal.setHeight("400px") ;
myCal.setWidth("500px") ;
CalendarSettings settings = new CalendarSettings();
settings.setEnableDragDrop(false) ;
myCal.setSettings(settings);
myCal.addOpenHandler(this);
Appointment appt = createAppointment() ;
myCal.addAppointment(appt) ;
mainPanel.add(myCal);
What is the expected output? What do you see instead?
Drag-n-Drop is still enabled. Expected it not to allow moving of the
appointments.
What version of the product are you using? On what operating system?
gwt-cal-0.9.0-beta1.jar, Firefox Mac OS-X
Original issue reported on code.google.com by [email protected]
on 14 Feb 2010 at 4:57
Description of the new feature:
Different countries define different week starting days. The calendar should
allow changing this property to mach the current country settings
Code / psuedo-code:
Maybe something like:
CalendarSettings.setFirstDayOfWeek(Calendar.Weekdays.MONDAY)
(see java.util.Calendar.setFirstDayOfWeek(int value))
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 8:07
What steps will reproduce the problem?
1. create a new calendar instance
2. set the view to the month view
3. add an appointment for any date visible in the current month
What is the expected output? What do you see instead?
expect The appointment be rendered within the cell for the appointment's start
date
actual The appointment is rendered in the appointment's start date (+ one day)
cell
What version of the product are you using? On what operating system?
branches/version-0.9 os x leopard
Please provide any additional information below.
This was not an issue in earlier deployments.
My guess is that there is an err in the logic within
MonthView#layOnWeekDaysAppointments
-> which calls MonthView#layOnAppointment(appointment, dayOfWeek, dayOfWeek,...
-> which calls MonthView#placeItemInGrid(panel, colStart, colEnd, ...
Original issue reported on code.google.com by [email protected]
on 11 Feb 2010 at 11:16
What is the version of GWT to be used for using GWT Cal.
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
I am using GWT 1.4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Jan 2010 at 5:20
Description of the new feature:
If fou create a new Appointment "multiday", you only can see the "title",
no description if this is available.
Original issue reported on code.google.com by fernando.rosado
on 14 Sep 2009 at 3:17
Attachments:
What steps will reproduce the problem?
1.how to drag and drop the appointment in the dayview
2.
3.
What is the expected output? What do you see instead?
I want to move the appointment, how to do it?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2010 at 9:23
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 [email protected]
on 14 Apr 2010 at 3:41
Attachments:
What steps will reproduce the problem?
1. Create a new Calendar and sets its view to month via
#setView(CalendarViews.MONTH)
2. Set the date
3. You can see this in the live version @
http://google.latest.gwt-web-calendar.appspot.com/
and click on the 'Month' tab
What is the expected output? What do you see instead?
expect months that should have 5 rows have 6
actual http://screencast.com/t/MTE2YTUwY
expect months that should have 6 rows have 5
actual http://screencast.com/t/ZmMzYTI4YmQ
What version of the product are you using? On what operating system?
http://gwt-cal.googlecode.com/svn/branches/version-0.9/gwt-cal osx snow leopard
Please provide any additional information below.
This actually works in correctly in hosted mode but I see the erroneous
behavior in all native
browsers. You can see this in the demos in the month view here. Its a minor
annoyance for the
months that should have 5 rows but have 6, but for the months that should have
6 but have 5
rows there is now way to access the end of the month because the last row is
not rendered.
The bug should but somewhere in
com.bradrydzewski.gwt.calendar.client.monthview.MonthViewHelper#monthViewRequire
dRows(D
ate firstOfTheMonth)
as far as I can tell that is the method responsible for determining the number
or rows returned.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2010 at 6:12
When you drag/drop appointments on the MonthView the hosted mode runtime throws
a null pointer. Visually there is
no impact, everything works fine on the surface, but I see the following error
pasted below -
(Note: I never noticed this error in the past. Not sure when/how it was
introduced or if it always existed ever
since we added drag/drop functionality)
01:48:03.878 [ERROR] [gwt_cal_demo] Uncaught exception escaped
java.lang.NullPointerException: null
at com.allen_sauer.gwt.dnd.client.PickupDragController.dragMove(PickupDragController.java:186)
at com.allen_sauer.gwt.dnd.client.MouseDragHandler.actualMove(MouseDragHandler.java:127)
at com.allen_sauer.gwt.dnd.client.DeferredMoveCommand.execute(DeferredMoveCommand.java:48)
at com.allen_sauer.gwt.dnd.client.DeferredMoveCommand.scheduleOrExecute(DeferredMoveCommand.java:82)
at com.allen_sauer.gwt.dnd.client.MouseDragHandler.onMouseMove(MouseDragHandler.java:295)
at com.google.gwt.event.dom.client.MouseMoveEvent.dispatch(MouseMoveEvent.java:54)
at com.google.gwt.event.dom.client.MouseMoveEvent.dispatch(MouseMoveEvent.java:1)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:100)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:179)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35)
at com.google.gwt.user.client.Window.confirm(Window.java)
at com.bradrydzewski.gwt.calendar.demo.client.GoogleCalendarPanel$9.onUpdate(GoogleCalendarPanel.java:177)
at com.bradrydzewski.gwt.calendar.client.event.UpdateEvent.dispatch(UpdateEvent.java:105)
at com.bradrydzewski.gwt.calendar.client.event.UpdateEvent.dispatch(UpdateEvent.java:1)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at com.bradrydzewski.gwt.calendar.client.event.UpdateEvent.fire(UpdateEvent.java:56)
at com.bradrydzewski.gwt.calendar.client.CalendarWidget.fireUpdateEvent(CalendarWidget.java:458)
at com.bradrydzewski.gwt.calendar.client.monthview.MonthView$2.onDragEnd(MonthView.java:185)
at com.allen_sauer.gwt.dnd.client.DragHandlerCollection.fireDragEnd(DragHandlerCollection.java:37)
at com.allen_sauer.gwt.dnd.client.AbstractDragController.dragEnd(AbstractDragController.java:138)
at com.allen_sauer.gwt.dnd.client.PickupDragController.dragEnd(PickupDragController.java:170)
at com.allen_sauer.gwt.dnd.client.MouseDragHandler.drop(MouseDragHandler.java:155)
at com.allen_sauer.gwt.dnd.client.MouseDragHandler.onMouseUp(MouseDragHandler.java:347)
at com.google.gwt.event.dom.client.MouseUpEvent.dispatch(MouseUpEvent.java:54)
at com.google.gwt.event.dom.client.MouseUpEvent.dispatch(MouseUpEvent.java:1)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:100)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:636)
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 8:50
Description of the new feature:
In several countries people use a 24-hour clock instead of am/pm. One
should be able to choose which clock convension to use.
Code / psuedo-code:
maybe something like:
CalendarSettings.setClockConvension(Calendar.ClockConvensions.24Hours);
Original issue reported on code.google.com by [email protected]
on 10 Mar 2010 at 9:27
Description of the new feature:
I would like the ability to make appointments invisible(using
setVisible(bool)) and have the calendar redo the layout so that visible
events will now be layed out without making space for appointments that are
not visible but still in the same time slot.
Use Case:
On a single day there is two appointments; Appointment 1 and Appointment 2.
Appointment 1 stars at 10:00 and runs until 15:00. Appointment 2 starts
at 13:00 and runs until 14:00.
Initially Appointment 1 and Appointment 2 have a size of 1/2 the day's
width because they overlap.
Setting Appointment 1's visibility to false using setVisible(false) causes
the calendar to redo the layout making Appointment 2 resize to be the full
size of the day.
Original issue reported on code.google.com by [email protected]
on 8 Sep 2009 at 8:18
To be able to properly use the CalendarFormat class to overload the i18n
properties, is needed to apply the next fix to the setTimeFormat method
public void setTimeFormat(String formatPattern) {
timeFormat = DateTimeFormat.getFormat(formatPattern);
generateHourLabels();
}
Cheers.
Original issue reported on code.google.com by ctasada
on 31 Mar 2010 at 9:45
Description of the new feature:
If you test from the demos on the gwt-cal wiki and hit Ctrl-P or
"File>>Print...", you will see a lot of visual oddities on the printed
page, which can also be simulated through print to pdf.
Use Case:
Some users may want to print a readable calendar.
Assumptions:
1. If compared to Google's calendar, black and white is offered for better
printability.
2. Styling with gradients
3. Event borders are not lost during print.
Exceptions:
1. ???
Code / psuedo-code:
Original issue reported on code.google.com by [email protected]
on 23 Mar 2010 at 5:21
Attachments:
What steps will reproduce the problem?
1. Create an appointment that begins on one Calendar day, and ends the next.
2. Add appointment to DayView
3.
What is the expected output? What do you see instead?
Expect to see appointment 'wrap-around' midnight. Instead, appointment
does not appear at all.
What version of the product are you using? On what operating system?
gwt-cal-0.8.jar w/ Eclipse on Linux.
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 10:53
What steps will reproduce the problem?
1. Calendar calendar = new Calendar();
2.1. calendar.addAppointment(appt);
2.2. calendar.addAppointment(appt);
..............
2.xxx. calendar.addAppointment(appt);
3. calendar.setView(CalendarViews.MONTH);
What is the expected output? What do you see instead?
In month view I expect to see all appointment for the month. Appointments
have to be placed in the good day of the month.
Instead we can see that for some days in the month, we have appointments
from last month (for exemple, in the 3 december panel, I can find
appointments from 26 november.
I find the problem :
It's because in MonthLayoutDescription in the method calculateWeekFor, we
calculate the difference in week between testDate and calendarFirstDate...
but the code don't care about negative or positive difference. So for my
exemple, there is 4 days difference between 30 november (first day in
month) and 26 november. And appointments for 26 november are diplay in the
4th day in the first week!
So I do this stuff in MonthLayoutDescription class to resolve the problem:
private int calculateWeekFor(Date testDate, Date calendarFirstDate) {
/*this test to get out every dates before calendarFirstDate*/
if (testDate.before(calendarFirstDate)){
return -1;
}
int endWeek = (int) Math
.floor(DateUtils.differenceInDays(testDate, calendarFirstDate) /
7d);
return Math.min(endWeek, weeks.length - 1);
}
What version of the product are you using? On what operating system?
Latest from repository
Please provide any additional information below.
I hope that it can be usefull for you! Thank you for this API, it's perfect
for me, and... very good job!
Best regards!
Zinou
Original issue reported on code.google.com by [email protected]
on 25 Mar 2010 at 2:20
The test line 166 of DayView.java (branch 0.9) should be :
if (getSettings().getTimeBlockClickNumber() == Click.Double && element ==
dayViewBody.getGrid().gridOverlay.getElement()) {
instead of
if (getSettings().getTimeBlockClickNumber() == Click.Single && element ==
dayViewBody.getGrid().gridOverlay.getElement()) {
Patch in attachement.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2009 at 3:42
Attachments:
What steps will reproduce the problem?
1. Insert a DayView into a DockPanel
What is the expected output? What do you see instead?
A DayView in the DockPanel.Center area of a DockPanel
What version of the product are you using? On what operating system?
Version: GWT - 1.6.4
OS: Windows XP
Please provide any additional information below.
com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument.
number: -2147024809
description: Invalid argument.
at com.google.gwt.dom.client.Element$.setPropertyString$(Native Method)
at com.google.gwt.user.client.DOM.setElementProperty(DOM.java:1095)
at
com.google.gwt.user.client.ui.HTMLTable$CellFormatter.setWidth(HTMLTable.java:29
2)
at
com.bradrydzewski.gwt.calendar.client.DayViewHeader.<init>(DayViewHeader.java:41
)
at com.bradrydzewski.gwt.calendar.client.DayView.<init>(DayView.java:37)
at com.bradrydzewski.gwt.calendar.client.DayView.<init>(DayView.java:29)
at calendar.client.UI_ViewPanel.<init>(UI_ViewPanel.java:48)
at calendar.client.UI_ViewPanel.getUI_ViewPanel(UI_ViewPanel.java:21)
at calendar.client.Calendar.onModuleLoad(Calendar.java:77)
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 4:18
What steps will reproduce the problem?
1. create a Calendar c
2. create CalendarSettings s and invoke s.setEnableDragDrop(false)
3. add some appointments
4. set the view to a month view c.setView(CalendarViews.MONTH)
What is the expected output? What do you see instead?
User should not be able to drag and drop events but user can.
What version of the product are you using? On what operating system?
version-0.9 os x
Please provide any additional information below.
MonthView never queries calendarWidget.getSettings() when adding d&d behavior
via
dragController
Original issue reported on code.google.com by [email protected]
on 29 Dec 2009 at 9:24
Functionality:
- Use up / left arrow key to select the previous, earlier appointment
- Use down / right arrow key to select the next, later appointment
- Will fire appointment selected event, similar to a click
- Can be turned on / off via the CalendarSettings
Assumptions:
- an appointment must already be selected
Exceptions:
- selected appointment is first / last in the visible list, in this case arrow
key will do nothing
Original issue reported on code.google.com by [email protected]
on 15 Jul 2009 at 10:06
using dayView.scrollToHour(hour);
hour beeing a int between 8-13.
What is the expected output? What do you see instead?
To get scrolled down to the rowrepresentation of 8-13. Get no scrolling at
all.
What version of the product are you using? On what operating system?
I'm using gwt-cal-0.9.0-beta1, on Windows vista.
Please provide any additional information below.
Tried this in both Chrome and FF 3.6 without any better result.
Any suggestion on whats the problem?
Original issue reported on code.google.com by [email protected]
on 15 Mar 2010 at 1:59
Currently when an appointment is clicked it fires the onValueChanged event.
It would be nice to also provide an event handler for when an appointment is
double-clicked. For example, a user may want to display a popup to edit the
appointment on double-click.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2009 at 10:10
Hi,
Since revision 161, it's possible on 0.9 to create appointments from the
dayview, I started a patch to do the same on monthview (see attachement),
but I have some problems, the following chunk of code return different
values for (col, row) if I click on the top-left or the bottom-right of a cell:
int col = (int)Math.floor( (x * DAYS_IN_A_WEEK)
/ monthCalendarGrid.getOffsetWidth() );
int row = (int)Math.floor( (y * monthViewRequiredRows)
/ monthCalendarGrid.getOffsetHeight() )+1;
Hence the computed date that follow is not correct. Where am I wrong ?
On a side note I don't know if (line 20 of the patch):
clickedElement == appointmentCanvas.getElement()
is relevant there.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2009 at 3:22
Attachments:
What steps will reproduce the problem?
1. add a DayView to a DecoratedTabPanel
What is the expected output? What do you see instead?
expected: as in the demo
instead: hour numbers placed wrong
What version of the product are you using? On what operating system?
0.8.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2009 at 6:21
Attachments:
Description of the new feature:
implements IsSerializable for use in server side and user RPC for manage
appointments.
public class Appointment implements IsSerializable
Original issue reported on code.google.com by fernando.rosado
on 14 Sep 2009 at 3:44
The MonthViewHelper is nothing more than a set of date-based operations.
Logic in this class should be moved to the DateUtils class (with the
purpose of centralization of date-based operations) and maybe renaming some
of the methods for coherence with what's already in the utility class.
I will try to remove this class in the next two days.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2010 at 6:17
Hi,
The scrollToHour setting is not taken into account by DayView, the
following modification did the trick for me:
Index:
branches/version-0.9/gwt-cal/src/main/java/com/bradrydzewski/gwt/calendar/client
/dayview/DayView.java
===================================================================
---
branches/version-0.9/gwt-cal/src/main/java/com/bradrydzewski/gwt/calendar/client
/dayview/DayView.java
(révision 225)
+++
branches/version-0.9/gwt-cal/src/main/java/com/bradrydzewski/gwt/calendar/client
/dayview/DayView.java
(copie de travail)
@@ -137,6 +137,8 @@
appointmentWidgets.add(panel);
this.multiViewBody.grid.add(panel);
}
+
+ scrollToHour(getSettings().getScrollToHour());
}
@Override
Original issue reported on code.google.com by [email protected]
on 28 Dec 2009 at 12:52
DayView does not take the Appointment.AllDay property into account when
placing appointments in the multi-day header.
Need to update the DayView to use the same Multi/AllDay logic that MonthView
uses.
I'd like to fix this prior to the 0.9 final release
Original issue reported on code.google.com by [email protected]
on 4 Mar 2010 at 3:41
Description of the new feature:
Show week numbers in month view
Use Case:
I don't know about other countries, but in Sweden week numbers are crucial
for using a calendar.
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 7:52
What steps will reproduce the problem?
1. Create a calendar // view = new Calendar(); ..
2. Set month view // view(CalendarViews.MONTH);
3. Add more than one appoints on a given day
What is the expected output? What do you see instead?
The "+ n more" label is a clickable link with a callback I can implement some
behavior with
What version of the product are you using? On what operating system?
gwt-cal-0.9.0-beta1.jar on osx
Please provide any additional information below.
snippet from MonthView.java
if (exceedMaxAppointmentsPerCell(maxMultiDay, i)) {
// either make this a link or add a click listener with a callback that the
client can handle
Label more = new
Label(MESSAGES.monthView_MoreAppointmentsInDay(count - i));
more.setStyleName(MORE_LABEL_STYLE);
placeItemInGrid(more, dayOfWeek, dayOfWeek,
weekOfMonth, calculatedCellAppointments);
appointmentCanvas.add(more);
break;
}
Original issue reported on code.google.com by [email protected]
on 21 Jan 2010 at 6:09
Description of the new feature:
Generate getters and setters for the DayView* classes in the DayView class,
or make them protected. Then it is possible to extend and create, for
instance, your own DayViewHeader.
Use Case:
One example is to modify the DayViewHeader to show icons for "all-day"
appointments.
Assumptions:
1. The private DayView* members of DayView are made protected -OR-
2. Getters and setters for the DayView* members of DayView are generated
Code / psuedo-code:
public class DayView extends CalendarView {
[...]
protected DayViewHeader dayViewHeader = null;
[...]
}
public class MyDayView extends DayView {
public void setDayViewHeader(DayViewHeader dvh) {
this.dayViewHeader = dvh;
}
}
public class MyDayViewHeader extends DayViewHeader {
public MyDayViewHeader(DayView dayView) {
// Creates my own header
}
}
MyDayView dayView = new MyDayView();
dayView.setDayViewHeader(new MyDayViewHeader(dayView));
Original issue reported on code.google.com by [email protected]
on 27 Jul 2009 at 2:21
Version: Trunk, rev 42
File: com/bradrydzewski/gwt/calendar/client/DayView.java
Method: scrollToHour()
dayView.scrollToHour(11);
Expected result; scroll down to 11 o'clock.
My result: scrolls all the way to the bottom of the time table.
There is an extra "hour" in the calculation made in DayView.scrollToHour().
This should work:
public void scrollToHour(int hour) {
dayViewBody.getScrollPanel().setScrollPosition(hour *
getSettings().getIntervalsPerHour() * getSettings().getPixelsPerInterval());
}
Original issue reported on code.google.com by [email protected]
on 10 Jul 2009 at 1:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.