Widget Reference: Dynamic Server Pages

Widgets in dynamic server pages (DSPs) determine the appearance and behavior of fields, labels, occurrences, and entities displayed in the client browser.

Uniface provides a set of physical widgets, which are used to generate HTML controls in the DSP, and a larger set of logical widgets, which map to the physical widgets and set some of their properties. For more information, see Widgets for Dynamic Server Pages and Widget Properties for the Dynamic Server Page.

Physical Widget Logical Widget Description
htmlinput EditBox Single-line text field for display and data entry.
Checkbox Check box representing a Boolean value.
CommandButton Button to initiate an action.
CommandButton_updatable Button to initiate an action. The value (button label) can be changed using the Uniface JavaScript API.
DatePicker Control for picking a date, such as a calendar or date spinner.
Password Single-line text field in which data is masked and cannot be displayed.
htmlselect ListBox

List of possible values, of which one or more can be selected.

DropDownList

List of options that is displayed when the user clicks in the field.

htmlradiogroup RadioGroup

List of mutually exclusive choices, each displayed as a radio button.

htmltextarea TextArea Multi-line text field for display and data entry.
plain StaticText

Multi-line text field for displaying read-only data

StaticText_updatable

Multi-line text field for displaying read-only data. The value can be changed using the Uniface JavaScript API.

RawHTML

Multi-line text field for displaying HTML-encoded data.

RawHTML_updatable Multi-line text field for displaying HTML-encoded data. The value can be changed using the Uniface JavaScript API.
FlatButton

Text field that is formatted to look like a hyperlink. The Detail trigger can be used to initiate an action.

FlatButton_updatable

Text field that is formatted to look like a hyperlink. The Detail trigger can be used to initiate an action. The value (link text) can be changed using the Uniface JavaScript API.

image

Picture

Image from a file or database.

Picture_updatable Image from a file or database. Can be manipulated in the browser.
PictureButton

Button with an icon or image.

PictureButton_updatable Button with an icon or image. The value can be changed using the Uniface JavaScript API.
dspcontainer DspContainer

Abstract field for embedding multiple DSPs in a Web page.

genericHTML AttributesOnly

Abstract field used to format any layout element, making it possible to address HTML elements in ProcScript and JavaScript. This widget is not intended to show or edit field values.

A similar built-in widget is used to control the appearance of entities and occurrences. For more information, see Entity and Occurrence Properties in Dynamic Server Pages

label Label

Non-editable text associated with a field.

Related Topics