RawHTML_updatable
The RawHTML_updatable DSP widget displays HTML-encoded data in read-only fields as formatted text. Although the field cannot be edited by the user, the field value can be changed at runtime using the Uniface JavaScript API.
RawHTML widget
Field value is: <p style="text-align: center;"><b>Raw</b> <span style="color: #9400d3">HTML</span></p>
Logical Widget Name: | RawHtml_updatable |
Maps to Physical Widget : | plain
|
Default definition: | RawHTML_updatable=plain(rawhtml=true;clientsyntaxcheck=false)[syntax=npr]
|
Supported triggers and properties: | See plain. |
Use for: | String field containing HTML-encoded data |
Description
The RawHTML_updatable widget displays HTML-encoded data in read-only fields as formatted text. For example, product descriptions can be formatted into paragraphs, and use fonts and text styling codes.
Unlike the RawHTML logical widget, the RawHTML_updatable widget field syntax is set only to NPR
(no
prompt), not to non-editable. This enables the field to be modified in the browser using the setValue() API.
Widget Properties
The following restrictions apply:
- For the Text Alignment
(
style:text-decoration
) property, the valueblink
is not supported.