8.2 Standard Field Visualizations

Standard field visualization weblets are shipped with LANSA. They provide a standard visualization for many of the common field types and they are used by the XSL generator (when you compile your WAM) if a specific field visualization is not specified for a field in a web_map. For example, if you specify a field of type DATE in your web_map, the XSL generator will use the std_date field visualization by default when it generates the XSL for your webroutine.

A full description of the standard field visualization weblets, their properties and how to use them in your own webroutines is provided.

You should not modify the shipped weblets. Every time a Partition Initialization is executed, these weblets are re-imported and the original weblets in the repository are overwritten. If you wish to customize a field visualization weblet, save it first with a different name in the LANSA Editor and then modify the weblet copy. Don't start your own weblet names with 'std_' as they may conflict with weblets shipped by LANSA.

 

Weblet Name

Description

Alphanumeric (std_char)

A text input box control.

Boolean (std_boolean)

A checkbox control

jQuery UI Datepicker (std_datepicker)

A text input box with added features to support the display, entry, prompting and validation of dates.

jQuery UI Datetimepicker (std_datetimepicker)

A text input box with added features to support the display, entry, prompting and validation of datetimes.

Float (std_float)

A text input box control specifically configured to display and receive floating point values.

Input box (std_input)

A text input box control.

Integer (std_integer)

A text input box configured to display and receive integer values with logic to ensure values entered are within the allowable range.

Object (std_lob)

A hyperlink (anchor) to the webroutine that returns the LOB content.

jQuery UI Timepicker (std_timepicker)

A text input box that supports the display, entry and validation of times

Varchar (std_varchar)

A text input box control.