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
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
Comment