Zimbra Collaboration - zimlet dialog

Interested in talking about Mash-up's? This is the place.
Post Reply
thorx
Advanced member
Advanced member
Posts: 54
Joined: Sat Sep 13, 2014 3:26 am

Zimbra Collaboration - zimlet dialog

Post by thorx »

http://wiki.zimbra.com/wiki/ZCS_6.0:Zim ... es:Dialogs
https://files.zimbra.com/docs/zimlet/zc ... ialog.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.


thorx
Advanced member
Advanced member
Posts: 54
Joined: Sat Sep 13, 2014 3:26 am

Zimbra Collaboration - zimlet dialog

Post by thorx »

bug filed...
Post Reply