brOOper / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

gwt-cal Unable to add appointment for CalendarViews.MONTH #142

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Calendar calendar = new Calendar();
2.calendar.setView(CalendarViews.MONTH);
3.Appointment appt = new Appointment();
4.DateTimeFormat calformat = DateTimeFormat.getFormat("yyyy-MM-dd hh:mm:ss");
5.appt.setStart(calformat.parse("2011-12-26 00:00:00"));
6.appt.setEnd(calformat.parse("2011-12-27 00:00:00"));
7.appt.setTitle("Testing");
8.appt.setDescription("TEST");
9.calendar.addAppointment(appt);
10.container.add(calendar);

What is the expected output? What do you see instead?
The appointment for the date 26 to 27 need to be blocked, but there is no 
appointment for those days

What version of the product are you using? On what operating system?
gwt-cal-0.9.1 and GWT-2.3.0. OS - Windows -7

Please provide any additional information below.

Original issue reported on code.google.com by jayaprak...@gmail.com on 29 Dec 2011 at 12:16

Attachments:

GoogleCodeExporter commented 8 years ago
I cannot replicate with the latest version. Can you try with the latest 
0.9.3-SNAPSHOT in the trunk?

Original comment by ctasada on 29 Dec 2011 at 7:58

GoogleCodeExporter commented 8 years ago
I tried with the latest 0.9.3-SNAPSHOT, but still facing the same issue, the 
appointment is not getting displayed, i downloaded the gwt-cal source from 
following url http://gwt-cal.googlecode.com/svn/trunk/gwt-cal/. 

Kindly help me to resolve this issue, if possible, can you send me the working 
code snippet for creation of the appointment?

Thank you.

Original comment by jayaprak...@gmail.com on 30 Dec 2011 at 7:08

GoogleCodeExporter commented 8 years ago
Or do i need to buy the licensed version to use this functionality?

Original comment by jayaprak...@gmail.com on 30 Dec 2011 at 7:09

GoogleCodeExporter commented 8 years ago
There's no feature limited by license. The license only allows you to use the 
library in commercial software.

The CampaignCalender.java fine is not even compiling. I removed a reference 
that was making it to fail, but I cannot simply add it to a RootPanel.

I simply replaced the code in the AppointmentBuilder class with your 
appointment and it worked fine. Can you please try it?

Regards,

Original comment by ctasada on 30 Dec 2011 at 7:12

GoogleCodeExporter commented 8 years ago
ok thanks, i will try to modify the AppointmentBuilder and check it out.

About the license, if i am going to use my application(it uses gwt-cal) i need 
to get the license from gwt-cal?, please let us know, we need to know about the 
commercial licensing and the price?

Thank you.

Original comment by jayaprak...@gmail.com on 2 Jan 2012 at 7:19

GoogleCodeExporter commented 8 years ago
my about question was little confusing, please see my question below
If i am going to use my application for commercial purpose(It uses gwt-call 
lib) i need to get the license from gwt-cal team?, please let us know, we need 
to know about the commercial licensing and the price?

Thank you.

Original comment by jayaprak...@gmail.com on 2 Jan 2012 at 7:21

GoogleCodeExporter commented 8 years ago
Regarding the license you can check it here: 
http://code.google.com/p/gwt-cal/wiki/CommercialLicense

If you have further questions you should send an email to Brad

Original comment by ctasada on 2 Jan 2012 at 4:49

GoogleCodeExporter commented 8 years ago
Kindly let me know, where is the AppointmentBuilder is located, i thought it is 
inside the trunk, but i dont find it, is that the file, which is developed by 
you to create an appointment, still i have the problem in creating the 
appointment using the 0.9.3-SNAPSHOT.jar, you mentioned that, you have some 
build issue in the file provided by me, can you let me know, where exactly you 
are getting the error, because, it compiles perfectly here, but only problem is 
the appointment is not getting created.

Thank you.

Original comment by jayaprak...@gmail.com on 4 Jan 2012 at 5:21

GoogleCodeExporter commented 8 years ago
One more update, I am able to add an appointment for DayView, but the same is 
not been achievable for MonthView.

Thank you.

Original comment by jayaprak...@gmail.com on 4 Jan 2012 at 6:22

GoogleCodeExporter commented 8 years ago
I'm talking about this file: 
http://code.google.com/p/gwt-cal/source/browse/trunk/gwt-cal-demo/src/com/bradry
dzewski/gwt/calendar/demo/client/AppointmentBuilder.java

As you can see it belongs to the demo code, in this way we can remove any 
external problem.

If you try to load your CampaignCalender.java file in the demo code, you'll see 
what I mean, and if it works, simply attach the patch for me to replicate.

Thanks.

Original comment by ctasada on 4 Jan 2012 at 7:27

GoogleCodeExporter commented 8 years ago
Could you replicate it?

Original comment by ctasada on 18 Apr 2012 at 9:53