htmlselect

The htmlselect widget controls the appearance of a field with a ValRep in a Dynamic Server Page, displaying it as a drop-down list or list box. It is mapped to an HTML <select> element. The size property determines the type of list control.

For more information, see Specifying a Widget for a Field or Entity and ValRep.

Default Logical Widgets

Uniface provides the following default logical widgets, which mapped to the htmplselect physical widget.

Triggers

Widget Properties

For information on widgets and the types of widget properties, see and Widgets for Dynamic Server Pages and Widget Properties for the Dynamic Server Page.

HTML Properties

This widget supports the following HTML properties:

HTML Properties

Property

Technical Name

W3C Description

Access Key

html:accesskey

accesskey

Style Class

html:class

class

Disable the Widget

html:disabled

disabled

Read Only

html:readonly

readonly

Size html:size size

Tab Index

html:tabindex

tabindex

Tool Tip Text

html:title

title

Uniface Properties

The following properties represent Uniface properties that have no equivalent in HTML or CSS, or which are used when a form is converted to a DSP.

Uniface Properties
Uniface Property Technical Name
Background Color (BackColor) backcolor
Syntax Check on Browser (ClientSyntaxCheck) clientsyntaxcheck
Foreground Color (ForeColor) forecolor
class:ClassName class:ClassName
RenderingIncrement renderingincrement

CSS Properties

The following tables described the supported CSS properties that can be used to style the htmlselect widget and the logical widgets that map to it.