ZCS 6.0:Zimlet Developers Guide:Examples:Simple Tool Tip: Difference between revisions
(Adding categories) |
No edit summary |
||
Line 30: | Line 30: | ||
<pre> | <pre> | ||
<zimlet name=" | <zimlet name="com_zimbra_example_simpletooltip" version="1.0" description="Simple Tool Tip Example: Hello World!"> | ||
<contentObject> | <contentObject> | ||
<matchOn> | <matchOn> | ||
<regex attrs="ig">lab|user|remodel</regex> <!-- matches lab or user or remodel --> | <regex attrs="ig">lab|user|remodel</regex> <!-- matches lab or user or remodel --> | ||
</matchOn> | </matchOn> | ||
<toolTip>Hello World! Tooltip</toolTip | <toolTip>Hello World! Tooltip</toolTip> | ||
</contentObject> | </contentObject> | ||
</zimlet> | </zimlet> | ||
</pre> | </pre> | ||
Line 45: | Line 45: | ||
{| cellspacing="0" cellpadding="5" border="1" | {| cellspacing="0" cellpadding="5" border="1" | ||
|Zimlet Package | |Zimlet Package | ||
|[ | |[http://files.zimbra.com/docs/zimlet/zcs/6.0/examples/com_zimbra_example_simpletooltip/com_zimbra_example_simpletooltip.zip com_zimbra_example_simpletooltip.zip] | ||
|} | |} | ||
Revision as of 17:41, 10 February 2010
Introduction | Getting Started | Dev Environment Setup | Developing Zimlets | Advanced Concepts | API Specifications | Example Zimlets |
Description
This zimlet will match the words lab, user or remodel and display a tool tip.
The Zimlet Package contains only one file: the Zimlet Definition File.
Screen Shot
Definition File
<zimlet name="com_zimbra_example_simpletooltip" version="1.0" description="Simple Tool Tip Example: Hello World!"> <contentObject> <matchOn> <regex attrs="ig">lab|user|remodel</regex> <!-- matches lab or user or remodel --> </matchOn> <toolTip>Hello World! Tooltip</toolTip> </contentObject> </zimlet>
Download
Zimlet Package | com_zimbra_example_simpletooltip.zip |
Useful Links