View Single Post
  #3 (permalink)  
Old 11-12-2007, 02:14 AM
marinew marinew is offline
Senior Member
 
Posts: 51
Default

Thanks a lot for your help, JoshuaPrismon !

I didn't know about existence of "onShowView" function. That's a good thing.

I used it for the first problem, and this works, now.
One precision : I had to try to addListener on calendar viewManager both in "onShowView" event, and on Zimlet "init" function. Because :
- sometimes, Zimlet is already initialized when "onShowView" event is raised => OK.
- But sometimes, "onShowView" seems to be thrown before Zimlet is initialized => my zimlet "onShowView" function isn't executed, but init function can here be used.

For second problem : Unfortunately, "onShowView" event is raised when we change view between Mail app, Calendar ap... But it isn't raised if I am on calendar app, when I switch between calendar day/week/... views

So, for second and third problem, I will have to test your strategy number two, using "AjxDispatcher.run".

I don't know anything about this function.
Could you please tell me more about it, or point me on some documentation or forum posts talking about it ?

Thanks again for your help.
Reply With Quote