Passes new content to the UI and refreshes it.
Identifier: ui_update
<ui_update id="show_specified_amount">
<widget_params>
<ui_element name="EXT_SCANNER_NAME">
<param name="content">Socket 7Xi</param>
</ui_element>
<ui_element name="STATUS">
<param name="content">CONNECTED</param>
<param name="text_color">green.dark</param>
</ui_element>
</widget_params>
</ui_update>
Changes a button status. It is used to activate or deactivate a button.
Identifier: change_button_status
<change_button_status id="deactivate_continue_btn">
<button_tag>CONTINUE_BTN</button_tag>
<control>DEACTIVATE</control>
</change_button_status>
Displays a temporary notification at the side of the application. It does not influence the workflow.
Identifier: ui_notification
<ui_notification id="error_note" type="ERROR" duration="LONG" show_immediately="true"> <message>No server connection established!</message> </ui_notification>
Displays a dialogue window that requires interaction with the user. It sends events such as which buttons the user clicked for a particular calling step.
Identifier: ui_dialog
Triggers events that contain the command specified within a button once it is clicked (or its speech command recognized).
<ui_dialog id="test" type="INFO" title="my title" message="my message">
<buttons>
<button text="New order" command="NEW_ORDER" speech_command="Neue Order" focused="true"/>
<button text="Same order" command="SAME_ORDER"/>
</buttons>
</ui_dialog>
Displays a dialogue screen that requires the interaction of the user. It sends the dialog events that occur once the window is closed.
Identifier: ui_page_dialog
There are three buttons the user can click:
Triggers events that contain the specified command within a button, once the button is clicked (or its speech command is recognized).
Minimal
<ui_page_dialog id="show-server-errors-dialog" type="ERROR" title="Procedure failed">
<messages>
<message>First Error...</message>
<message>Second Error...</message>
<message>Third Error...</message>
</messages>
<buttons>
<previous_page_btn>
<param name="text">←</param>
<param name="speech_command">PREVIOUS</param>
</previous_page_btn>
<next_page_btn>
<param name="text">→</param>
<param name="speech_command">NEXT</param>
<param name="focused">true</param>
</next_page_btn>
<close_btn>
<param name="text">ANDRRES_cancel</param>
<param name="command">EXIT_PAGER</param>
<param name="speech_command">CANCEL</param>
</close_btn>
</buttons>
</ui_page_dialog>
All options
<ui_page_dialog id="confirm_pick" type="INFO" title="Here we go again">
<messages>
<message>what</message>
<message>to</message>
<message>do</message>
</messages>
<buttons>
<previous_page_btn>
<text><![CDATA[<]]></text>
<speech_command>PREVIOUS</speech_command>
<focused>false</focused>
</previous_page_btn>
<next_page_btn>
<text><![CDATA[>]]></text>
<speech_command>NEXT</speech_command>
<focused>true</focused>
</next_page_btn>
<close_btn>
<text>Return</text>
<command>BW</command>
<speech_command>RETURN</speech_command>
<focused>false</focused>
</close_btn>
</buttons>
</ui_page_dialog>
Using context_variable = true
<ui_page_dialog id="confirm_what_to_do" type="INFO" title="Here we go again">
<messages context_variable="true">#{what_to_do}</messages>
<buttons>
<previous_page_btn>
<text><![CDATA[<]]></text>
<speech_command>PREVIOUS</speech_command>
<focused>false</focused>
</previous_page_btn>
<next_page_btn>
<text><![CDATA[>]]></text>
<speech_command>NEXT</speech_command>
<focused>false</focused>
</next_page_btn>
<close_btn>
<text>ANDRRES_cancel</text>
<command>BW</command>
<speech_command>RETURN</speech_command>
<focused>false</focused>
</close_btn>
</buttons>
</ui_page_dialog>
Handling the result
<rule id="confirm_what_to_do_back">
<expression> <![CDATA[#{event:command} == 'BW' || #{event:command} == 'RETURN']]> </expression>
<actions>
<action ref="backwards"></action>
</actions>
</rule>
Opens and closes an intermediate and non-interruptive notification at the top right corner of the screen. This lets the worker know if something is happening in the background.
Suggested use-cases:
Identifier: ui_progress_notification
Minimal
To open notification:
<ui_progress_notification id="show_progress">
<param name="id">group_confirmation</param>
<param name="message">Bestätige Schritt</param>
<param name="action">show</param>
</ui_progress_notification>
To close the notification again:
<ui_progress_notification id="close_progress">
<param name="id">group_confirmation</param>
<param name="action">close</param>
</ui_progress_notification>
All options
<ui_progress_notification id="show_progress">
<param name="id">group_confirmation</param>
<param name="title">CommitProcess</param>
<param name="message">Confirming PickGroup</param>
<param name="action">show</param>
</ui_progress_notification>
<ui_progress_notification id="close_progress">
<param name="id">group_confirmation</param>
<param name="action">close</param>
</ui_progress_notificatio
Allows the creation of new styles and the modification of existing ones in your layout.
Suggested use-cases:
Identifier: modify_style_repo
Minimal
<modify_style_repo id="change_exception_style" style_name="list_item_style_same_size">
<properties>
<param name="text_group" type="string">#{test_group}</param>
</properties>
</modify_style_repo>
Reference style in UI layout elements:
<List Name="SELF_MENU_TABLE_MENU" Weight="0.75" FocusOrder="0"
TextStyle="LIST_ITEM_STYLE_SAME_SIZE"
PageIndicatorStyle="PAGE_INDICATOR_STYLE" EntriesPerPage="5" Border="0,gray.dark,black" Padding="10,0,10,0"/>
Produces:
All options
<modify_style_repo id="change_exception_style" style_name="list_item_style_same_size">
<param name="base_on" type="string">list_item_style</param>
<properties>
<param name="text_group" type="string">#{test_group}</param>
<param name="maxtextsize" type="string">15</param>
<param name="gravity" type="string">center</param>
</properties>
</modify_style_repo>
Sets a focus item within the user interface (UI).
Identifier: ui_set_focus_item
<ui_set_focus_item id="myaction"><ui_set_focus_item/>