Support/Live Chat/Web Client/Widgets

From MozillaWiki
< Support‎ | Live Chat‎ | Web Client
Revision as of 16:29, 24 March 2010 by Zzxc (talk | contribs) (Created page with '[https://dm-sumotools01.mozilla.org/webclient/org/mozilla/support/chatapp/Widget.html Widgets] are a specific type of component that entail a DOM structure and Javascript in the …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Widgets are a specific type of component that entail a DOM structure and Javascript in the browser, with structure defined by JavaServer Pages. Widgets are useful for creating reusable UI elements in the web client and for specifying layout and configuration of other widgets.

  • Optional JSP backing pages are compiled when a widget is loaded. These pages can be set to compile either the first time the widget is loaded, when loading the application, or every time an instance of the widget is created.
  • Nesting widgets is allowed; the Container widgets provide an easy way to contain nested widgets.