The widget library provides the building blocks for the creation of useful and compelling client applications. You control widget behavior and transitions, such as sliding and fade in, using either theme style properties, or the style element or attribute on markup.
The widget library provides the building blocks for the creation of useful and compelling client applications. You control widget behavior and transitions, such as sliding and fade in, using either theme style properties, or the style element or attribute on markup.
The widget types, purpose and supported content are listed in the table.
Widget | Purpose | Supported content |
---|---|---|
AJAX Table | Extends the functionality of the standard XDIME 2 table by loading the data with an AJAX request | Any markup |
Autocompleter | A text input field that allows you to select a single item from the list of matching items, based on the first few characters typed. | A single-line text input field |
Carousel | Displays part of a list of content items for a given period of time. At the end of the time period the displayed subset changes. Users can select items from a list that is longer than can be displayed on the device. | Any markup that can be rendered in a rectangular area of the page |
Clock | A digital clock presenting current time and date | Does not contain any markup |
Date Picker | Selects a date from a calendar to complete a date field in a form | Does not contain any markup |
The Deck widget | Presents data as a series of pages. The content of the widget may be specified directly on a page, or can be downloaded from the external source. | Any markup |
Dynamic Menu | Includes navigation menus on the page, without making them fully visible initially, allowing pages that contain a lot of information to be less cluttered. Submenus are displayed when the user selects a menuitem. | XDIME 2 navigation lists, including all content that is valid within navigation list items |
Field Expander | Any XDIME 2 XForms control. The subordinate fields part support multiple fields and also support markup. The content of a Field Expander may include another Field Expander or Ticker Tape widget. | Any XDIME 2 XForms control. The subordinate fields part support multiple fields and also support markup. The content of a Field Expander may include another Field Expander or Ticker Tape widget. |
Folding Item | Includes hidden content that is displayed when the user selects an action. This content may be downloaded with the initial page, or the download may be deferred until the item is opened - improving page rendering performance. | Any markup that can be rendered in a block-level area of the page. The content need not be a list item. May be nested. |
Forms Wizard | Simplifies multiple field form completion, and allows each step of the form to be validated using Forms Validator widgets. | XForms elements and other markup that together constitute a form |
Multiple Forms Validator | Checks that the values in multiple fields, taken together, meet some specified constraints | Does not contain any markup |
Simple Forms Validator | Checks that the values in a single field is valid | Does not contain any markup |
Gallery and Slideshow | Presents images in a organized way. The Gallery widget is used to display thumbnails of the specified set of items, while the Slideshow widget displays a single, full-sized image from the defined set. | Media assets |
Popup | Initially hidden content, such as an error message, which is displayed as a result of some external trigger. | Any markup that can be rendered in a rectangular area of the page |
Progress Bar | provides users a visual indication of how close a process is to completion | Does not contain any markup |
Stopwatch and Timer | Allow the user to measure time | Does not contain any markup |
Tabs | Tabbed interface familiar to many computer users | Can contain any arbitrary markup |
Ticker Tape | Scrolling set of content that cycles continuously. Its purpose is to display information such as news headlines, stock prices, and banner advertisements. | Any markup |
Web Service Client | Imports XML data from an external source, transforms it into the format acceptable by the XDIME application and presents the results on the device using AJAX | Any markup |