View Single Post
  #2 (permalink)  
Old 01-20-2010, 11:08 AM
sposetti sposetti is offline
Zimbra Employee
 
Posts: 105
Default

You can indicate a briefcase item is a valid dragsource in your Zimlet Definition File XML with:

<dragSource type="ZmBriefcaseItem" />

In your zimlet, in the doDrop(obj) method, the ZmBriefcaseItem object will be passed in. You can check obj.type for "BRIEFCASE_ITEM".
Reply With Quote