Page 1 of 1

Zimbra Collaboration - zimlet dialog

Posted: Sat Dec 06, 2014 8:10 am
by thorx

http://wiki.zimbra.com/wiki/ZCS_6.0:Zimlet_Developers_Guide:Examples:Dialogs


https://files.zimbra.com/docs/zimlet/zcs/8.0.7/jsdocs/symbols/DwtDialog.html



I'm trying a yes_no dialog. but following the example code for listners dosen'y seem correct.


The dialogs is a shared resource right? well I see interference when I'm using yes'_no dialog. My dialog events for example will fire when pressed in another dialog (permission dialog for notification in firefox).



setButtonListener(buttonId, listener)

Sets the given listener as the only listener for the given button.


I set the setbuttonlistner on init of my zimlet.


so when I use this I set the even as the only event for this dialog. and other code that use the same dialog will get it as well. is this a bug or by design. isn't I'm suppose to use the dialog api in zimlets? 

Plrasr advice.




Zimbra Collaboration - zimlet dialog

Posted: Thu Dec 11, 2014 3:10 pm
by thorx
bug filed...