by Bruno Konik » Fri Jul 13, 2007 1:57 pm
Thanks Batalf,
this is good... I had done almost the same thing but... :
1 - this would be good to have the method setCallbackOnTabSwitch available publicly on the window model (so that it is not mandatory to fill the properties in the div but better hide some of them to the user).
2 - I think you should call the method __handleCallback from the __displayActiveContent method so that the callback is also called at the first opening of the window (after a refresh for instance) and not only after a click.
I have also noticed a little bug on the div windowProperties : you must name isResizable and not resizable, as well as isClosable instead of closable and the others 'able' are the same I believe.
Thanks for your fast reply.
Bruno