Using a Widget: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
*All widgets require a shell to operate in. This is called using the [[DwtShell]] class. | *All widgets require a shell to operate in. This is called using the [[DwtShell]] class. | ||
*add components | *add components | ||
The className argument is used to assign a css class to the widget. | The <code>className</code> argument is used to assign a css class to the widget. | ||
*add listeners | *add listeners | ||
*put handling processes inside the listener methods | *put handling processes inside the listener methods |
Revision as of 05:59, 5 April 2006
Zimbra AjaxTk->DHTML Widget Toolkit->Widgets
- Include the files needed
- All widgets require a shell to operate in. This is called using the DwtShell class.
- add components
The className
argument is used to assign a css class to the widget.
- add listeners
- put handling processes inside the listener methods