Widgets for Static Server Pages

Widgets for static server pages (USPs) are HTML controls that determine how data is represented in the web page.

Unlike the widgets in other presentation components, USP physical widgets do not support logical widgets.

In the HTML layout of USPs, the widgets are represented by Uniface-specific XHTML tags, which are automatically inserted when copying the component structure to the layout. For more information, see XHTML Elements for Static Server Pages.

At runtime, webgen uses these tags to generate and populate the HTML controls in the web page with the actual data. You configure the XHTML that is generated for fields and labels by editing XHTML tags and adding settings to the application assignment file. For more information, see Customizing the XHTML Generated for USPs.

Uniface-Supported HTML Controls
HTML control Explanation
Button Click to submit the Web page.
Checkbox Switch between true and false.
FileUpload Select a file.
Hyperlink Link to another Web page.
Image Display an image that can represent a hyperlink, have alternative text, or make use of other features that are not available in the picture control.
List Select one or more options from a list.
Menu Select an option from a drop-down list
Picture Display an image.
RadioButton Select one of several options.
Raw HTML Define HTML elements such as frames and paragraphs, and to define dynamic behavior in scripting.
Text Input and display data on a single line.
TextArea Input and display data for multiple lines.