application.awe-notifier.screen.notifications.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" keep-criteria="true" xsi:noNamespaceSchemaLocation="https://aweframework.gitlab.io/awe/docs/schemas/screen.xsd" template="window" label="SCREEN_TITLE_NOTIFICATIONS" help="SCREEN_HELP_NOTIFICATIONS"> <tag source="buttons"> <button label="BUTTON_SCREEN_HELP" icon="question-circle" id="ButHlp" help="HELP_HELP_BUTTON"> <button-action type="dialog" target="HlpOpt" /> </button> <button label="BUTTON_PRINT" icon="print" id="ButPrn" help="HELP_PRINT_BUTTON"> <button-action type="validate" /> <button-action type="dialog" target="PrnOpt" /> </button> </tag> <tag source="center"> <window label="SCREEN_TEXT_CRITERIA" icon="filter"> <tag type="div" style="panel-body"> <criteria label="PARAMETER_SEARCH" icon="search" component="text" id="search" style="col-xs-12 col-sm-6 col-md-4 col-lg-3" /> <criteria label="PARAMETER_SUBSCRIPTION" icon="ticket" component="suggest" id="subscription" server-action="data" target-action="subscription-suggest" style="col-xs-12 col-sm-6 col-md-3 col-lg-3" /> <criteria label="PARAMETER_TYPE" icon="flash" component="select" id="type" optional="true" initial-load="enum" target-action="notification-label" style="col-xs-6 col-md-3 col-lg-1" /> <criteria label="PARAMETER_UNREAD" icon="eye-slash" component="select" id="unread" optional="true" initial-load="enum" target-action="Es1Es0" style="col-xs-6 col-md-2 col-lg-1" /> </tag> <tag type="div" style="panel-footer"> <tag type="div" style="pull-right"> <button button-type="reset" label="BUTTON_RESET" icon="eraser" id="button-reset" help="HELP_RESET_BUTTON" /> <button button-type="submit" label="BUTTON_SEARCH" icon="search" id="button-search" help="HELP_SEARCH_BUTTON"> <button-action type="filter" target="notification-list" /> </button> </tag> </tag> </window> <window style="expand" maximize="true" label="SCREEN_TEXT_NOTIFICATIONS" icon="bell-o"> <grid id="notification-list" style="expand" initial-load="query" server-action="data" target-action="notification-list" multiselect="true" max="30"> <column name="notification-icon" component="icon" sort-field="typeSort" align="center" charlength="4" /> <column name="id" hidden="true" /> <column label="PARAMETER_NAME" name="notification-name" charlength="30" /> <column label="PARAMETER_DESCRIPTION" name="notification-description" charlength="50" /> <column label="PARAMETER_SCREEN" name="notification-screen" align="center" charlength="20" /> <column label="PARAMETER_DATE" name="notification-date" align="center" charlength="20" /> <column name="notification-read" component="icon" sort-field="unreadSort" align="center" charlength="4" /> <button label="BUTTON_SET_UNREAD" icon="eye-slash" id="button-set-unread" help="HELP_SET_UNREAD" value="1"> <button-action type="server" server-action="maintain-silent" target-action="toggle-notifications" silent="true"/> <button-action type="filter" target="notification-list" async="true" silent="true"/> <button-action type="filter" target="notification-bulletin" context="base" async="true" silent="true"/> <button-action type="unselect-all-rows" target="notification-list" async="true" silent="true"/> <dependency target-type="disable" initial="true"> <dependency-element id="notification-list" condition="eq" value="0" /> </dependency> </button> <button label="BUTTON_SET_READ" icon="eye" id="button-set-read" help="HELP_SET_READ" value="0"> <button-action type="server" server-action="maintain-silent" target-action="toggle-notifications" silent="true"/> <button-action type="filter" target="notification-list" async="true" silent="true"/> <button-action type="filter" target="notification-bulletin" context="base" async="true" silent="true"/> <button-action type="unselect-all-rows" target="notification-list" async="true" silent="true"/> <dependency target-type="disable" initial="true"> <dependency-element id="notification-list" condition="eq" value="0" /> </dependency> </button> <context-button id="context-button-set-unread" label="BUTTON_SET_UNREAD" help="HELP_SET_UNREAD" icon="eye-slash" value="1"> <button-action type="server" server-action="maintain-silent" target-action="toggle-notifications" silent="true"/> <button-action type="filter" target="notification-list" async="true" silent="true"/> <button-action type="filter" target="notification-bulletin" context="base" async="true" silent="true"/> <button-action type="unselect-all-rows" target="notification-list" async="true" silent="true"/> <dependency target-type="show" initial="true"> <dependency-element id="notification-list" column="notification-read" attribute="selectedRowValue" condition="eq" value="0" /> <dependency-element id="notification-list"/> </dependency> </context-button> <context-button id="context-button-set-read" label="BUTTON_SET_READ" help="HELP_SET_READ" icon="eye" value="0"> <button-action type="server" server-action="maintain-silent" target-action="toggle-notifications" silent="true"/> <button-action type="filter" target="notification-list" async="true" silent="true"/> <button-action type="filter" target="notification-bulletin" context="base" async="true" silent="true"/> <button-action type="unselect-all-rows" target="notification-list" async="true" silent="true"/> <dependency target-type="show" initial="true"> <dependency-element id="notification-list" column="notification-read" attribute="selectedRowValue" condition="eq" value="1" /> <dependency-element id="notification-list"/> </dependency> </context-button> </grid> </window> </tag> <tag source="modal"> <include target-screen="PrnOpt" target-source="center" /> <include target-screen="screen-help" target-source="center"/> </tag> </screen>