Loading...
 

CX_WEB_SERVICE_MANAGER::SetMorphITProperty

CX_WEB_SERVICE_MANAGER::SetMorphITProperty

188438

Description:

Sets/changes the value of the specified MorphIT property. Set values can be deleted using RemoveMorphITProperty and ClearMorphITProperties. MorphIT properties are transferred to MorphIT as strings and can therefore contain any values. During the Boolean evaluation of a MorphIT property, being not set, an empty string, "false" or "0" is interpreted as FALSE, anything but TRUE.

If a property is set, it will be set for the client under options.properties for all future MorphIT requests from the time of setting.

Used properties
Name Meaning
accessibility_dropdown If this property is set, a simpler implementation is used for dropdown elements such as ObjectComboboxes or enumerations, which is better understood by screen readers.
accessibility_file_dialog Setting this property causes the "normal" upload button to be replaced by the upload button provided natively by the browser. This can be useful in case of problems when using the customized Upload Button.
accessibility_grid If the property is set, the ObjectListView and the ObjectTreeList show up in a particularly accessible mode, in which keyboard users can navigate through the table and screen readers can better display the content.
accessibility_hide_column_menus If the property is set, the arrows displayed on the column buttons are hidden to display the column menu. The menu, on the other hand, can still be reached by clicking on the columns for a longer period of time.
accessibility_no_disabled If the property is set, input fields with the NON_SELECTABLE or VIEW_ONLY flag are displayed and treated in the same way as VIEW_ONLY input fields. This allows the user to reach and focus the non-selectable input fields by tab to have their contents read out.
accessibility_toggle_groups If this property is set, then groups without the TOGGLE flag in MorphIT can be expanded and collapsed by the user. Exceptions are composites and groups without titles.
accessibility_tooltip If the property is set, tooltips are opened when a widget is focused, so that users who operate MorphIT exclusively with the keyboard can also see the tooltips.
destroy_hidden_windows

This property is only relevant in styles that support single-window mode. If it is set, all inactive windows are removed from the MorphIT surface layer and are only created from scratch when they become active. This ensures that no two windows exist simultaneously in the DOM structure in the display layer.

However, if this property is not set, all inactive natively opened windows are retained in the DOM structure so that they can be quickly redrawn when switching windows. All inactive but natively opened windows do not react to changes until they become active, i.e. visible and marked with the current flag. This not only allows the windows to be loaded quickly, but also to retain the unsynchronized changes that the user had only made on the interface. This affects the most interface-heavy components like the ObjectListView and WebWidgets.

In all modes, inactive windows are formed according to the lazy-loading principle. This means that the windows are not formed (and retained) until the first display. This leads to accelerated loading of several windows in MorphIT.

disable_language_selector If the property is set, then the language of ML widgets in MorphIT cannot be changed and the field for switching is disabled. It is also not typed into the field.
dropdown_select_button

If this property is set, then ObjectCoboboxes are extended by a SELECT button. The box triggers the SELECT event only when the button is pressed and not when an entry is selected. (Accessibility)

header_text Specifies the text to be displayed in the header.
ignore_float_windows If this property is set, windows with the FLOAT or MODAL flag are also displayed as "normal" full-screen windows. This is particularly useful on mobile devices.
max_webcam_quality ClassiX supports webcams of the following quality: QVGA, VGA, HD, 1080p, 4K and 8K. If the webcam does not support the desired quality, ClassiX will automatically try the next lower quality and so on until a quality suitable for the webcam is found. By default, HD quality is used, as this is supported by almost all current webcams. To get a higher quality (which means a larger file size) you can set the desired quality as string with this MorphIT property.
no_password_toggle If set to true, the button for displaying passwords in password fields is generally no longer displayed.
prevent_header_scroll When scrolling to the window change, the header area becomes visible.
project Defines the exact project name. The first menu item whose title corresponds exactly to the project name set is printed in bold and displayed on the far left of the menu
on_close If this property is set, the user will be shown a dialog when leaving the MorphIT page, if he really wants to leave the page. If the browser supports this, the text specified here is displayed.
test_system If this property is set, the text !!!TESTSYSTEM!!! is output in MorphIT designs with header.

Code example:
"dropdown_select_button" "true" GetManager(WEB_SERVICE) Call(SetMorphITProperty)

Stack
Stack Position Object type Brief description
Stack(In) Top STRING Value
top one STRING Name
Stack(Out) Top
Function call: Call(SetMorphITProperty)