===== View handling =====
Zimbra introduced some kind of „view type“ and „view name“-distinction in Zimbra 8, so for example the traditional („list“) view for mails isn’t equal to ZmId.VIEW_TRAD anymore, it’s more equal to ZmId.View_TRAD + „_main“. This comes back at you when you’re using the **initializeToolbar** method in your Zimlet and check for a proper view to add your button to.
To properly check this, you can use the new **getViewTypeFromId**-method of the appCtxt-object. This removes the „view name“-part from the supplied view ID and leaves you with what you are expecting.
===== Tag handling =====
Zimbra seems to change the whole tag handling. Probably because of the new shared tags-feature. From now on, each tag is not handled by its ID anymore, they use the name as the identifier. To properly tag a message, you use the message’s list **tagItems** method and supply the tag’s name: