Widget elements

XDIME 2 makes use of several elements from the Widget vocabulary, used to animate the user interface on supporting mobile devices. The namespace prefix used for these elements is widget: and the namespace declaration is http://www.volantis.com/xmlns/2006/05/widget.

XDIME 2 makes use of several elements from the Widget vocabulary, used to animate the user interface on supporting mobile devices. The namespace prefix used for these elements is widget: and the namespace declaration is http://www.volantis.com/xmlns/2006/05/widget.

Name Purpose
widget:autocomplete

Defines an Autocompleter widget.

widget:block

Displays content specified by the widget:block-content element or provided by the one of the dynamic actions - fetch, load or refresh. This element supports transition effects.

widget:block-content

A structural element enclosing content, which can be displayed by widget:block. It supports transition effects.

widget:button

A general purpose element, used by widgets which need a button-like control.

widget:calendar-display

Displays the days of the selected month.

widget:carousel

Defines a Carousel widget that displays a subset of a list of items. The contained li elements have a restricted content model, when used in a carousel. The li does not need to be enclosed in the nl, ol, or ul elements.

widget:clock-content

Defines a markup for the clock digits, separators, AM/PM indicators, as well as the day and month names. It can contain any markup, in particular text and images.

widget:date-picker

Defines a Date Picker widget that is bound to a form field.

widget:deck

Defines a Deck widget.

widget:deck-page

Defines a single page in a Deck widget.

widget:date-picker

Defines a Date Picker widget that is bound to a form field.

widget:detail

Specifies the content of the widget that is initially hidden. It is made visible when the widget:summary content is clicked. May contain XDIME 2 block elements in addition to nested folding items, and the gallery:slideshow, widget:block, widget:load elements.

widget:digital-clock

Defines a digital clock.

widget:dismiss

Provides a method for dismissing a widget.

widget:display

An inline widget element used to display some text content. It may be associated with a widget property. In such cases, the displayed content represents the value of the selected property.

widget:fetch

Requests an XML data from an external source and optionally processes it using specified XSL transformation.

widget:field

A reference in a Multiple Forms Validator widget to a single XForm control that is validated as part of the group.

widget:field-expander

Defines a Field Expander widget that includes initially hidden form fields.

widget:folding-item

Outer container for a Folding Item widget that displays a summary of its contents, and when activated, reveals more detailed content.

widget:handler

Associates an event with an action; that is when a widget sends the event, the associated action is invoked.

widget:input

A general purpose element, used by widgets which need a text input control which is not associated with a form.

widget:load

Controls the loading of a widget's contents in relation to the containing page.

widget:message

Message displayed when particular type of validation error occurs. This element is used by the Simple Validator widget. It should not be specified for a Multiple Forms Validator widget because a server side process is responsible for displaying error messages.

widget:month-display

Displays the name of a month in the Date Picker widget.

widget:multiple-validator

The main element for a Multiple Forms Validator widget.

widget:next

Defines a button that links to the next step. In a gallery, it displays the next page. When used in a slideshow, it displays the next item.

widget:next-month

Used to create a control that switches a calendar display to the next month.

widget:next-year

Creates a control that switches a calendar display to the next year.

widget:option

A single item on a list.

widget:pause

Defines the pause button. When used within a Slideshow widget, it pauses the slideshow presentation.

widget:play

Defines a play button. When used in a Slideshow widget, it starts or resumes the slideshow presentations.

widget:popup

The main element for a Popup widget.

widget:previous

Defines a button that links to the previous step. In a gallery, it displays the previous page. When used within a slideshow, it displays the previous item.

widget:previous-month

Used to create a control that switches a calendar display to the previous month.

widget:previous-year

Used to create a calendar control. When clicked, the previous year will be displayed.

widget:progress

The main element for a Progress Bar widget.

widget:refresh

Allows a widget to update its contents.

widget:script

Contains a script that can be executed by the invoke action.

widget:select

Defines a single or multiple selection control, for example a dropdown list.

widget:set-today

Defines a button that sets a current date in the field associated with a Date Picker widget.

widget:stop

Defines the stop button. When used within a Slideshow widget, it stops the slideshow and sets it to the first item from the specified set.

widget:stopwatch

Defines a stopwatch.

widget:summary

Defines the visible title, label or thumbnail for content that is initially hidden. Clicking on the element content makes the widget:detail visible.

widget:tab

Defines a single tab for the Tabs widget. May contain an optional widget:load element for AJAX-loaded tabs.

widget:table

Defines a Table widget.

widget:tabs

Defines a container for one or more widget-tab elements.

widget:tbody

Defines body of the AJAX Table widget.

widget:ticker-tape

Defines a Ticker Tape widget which provides a horizontal scrolling display area.

widget:timer

Defines a timer.

widget:validate

Enables form validation in both the Simple and Multiple Forms Validator widgets.

widget:wizard

Defines a Forms Wizard widget containing XForms elements.

widget:year-display

Displays a year in the Date Picker widget.

Related topics