Copyright © 2007. All rights reserved.
This document specifies the Joost™ Widgets Language (JWL, pronounced "jewel") which can be used in widgets in order to be consistent with the Joost UI.
Any and all use of the Joost API is subject to the Joost API Terms of Use
The API may change and although we will try and keep these changes to a minimum, some API calls may be deprecated in the future.
Please note: JWL is being progressively phased out in favour of using pure XHTML+CSS.
Instead, use body onload="yourFunction" in your HTML or XML main file instead of window:onShow and height and width in config.xml instead of height and width in <jwl:window>. title is simply the html title in your main-file.
Do keep in mind that the document a widget is built upon is simply a mix of HTML, SVG, CSS, and Javascript, and that apart from the <window> element which is used to provide some specific details about your widget, the other elements are only useful as means to provide a UI closer to that used in the rest of Joost.
When we fully deprecate JWL we will provide a CSS file that gives standard HTML UI components similar appearance in Joost Widgets.
The following attributes are reused on several elements.
getElementById()).
It is expected going forward, as soon as Mozilla is fixed, that it will be replaced
with the xml:id attribute which is much better suited to this task.
<button> elementThe <button> element is used to create buttons in the style of Joost.
<checkbox> elementThe <checkbox> element produces a checkbox in the style of Joost.
<scrollarea> elementThe <scrollarea> element produces a scrollable area consistent with the other scrollable parts of the Joost UI.
hidden and visible to make this
element visible.
<textbox> elementThe <textbox> element produces a text box in the style of Joost.
password will cause it to hide the characters being typed,
all other values make it a regular text box.
<window> elementThe <window> element is used to specify various aspects concerning the small window that contains widgets.
true, the decoration will be hidden and only show upon hover.
hidden, the window will not be resizable.