nihad640 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Calendar widget and DB connection #654

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Hello,

in my application I want to use the calendar widget to create a calendar that 
would be specific for each user.
So I need to link this calendar to my db to save the events.

I thought that I just had to extend the Calendar class and to override the 
addEvent, removeEvent and updateEvent methods to integrate my RPC calls to 
store events in the DB. But this is not working : I think that the method that 
is called when you add an event is still the Calendar one and not the one in my 
extended class.

Off course I have already added a datasource to my calendar but it's the same 
problem whe I override the addData on that datasource to call my RPCs : it's 
not working neither.

May you help me to understand how I can deal with that as the synchro between 
DB and Calendar is mandatory in most of the applications using a Calendar 
widget.

Regards

Original issue reported on code.google.com by ahmed.km...@amdconsulting-tn.com on 23 Jan 2012 at 2:46

GoogleCodeExporter commented 9 years ago
Please read the instructions, do no post how-to questions here.

Original comment by smartgwt...@gmail.com on 23 Jan 2012 at 2:58