diff --git a/entity/LogHistory_entity/LogHistory_entity.aod b/entity/LogHistory_entity/LogHistory_entity.aod index 3c170d5559c51db7bbada79f72ed71bc17587703..d54e0ef364b0ccaaab276097643bbd90b506a44f 100644 --- a/entity/LogHistory_entity/LogHistory_entity.aod +++ b/entity/LogHistory_entity/LogHistory_entity.aod @@ -105,6 +105,18 @@ <searchable v="false" /> <valueProcess>%aditoprj%/entity/LogHistory_entity/entityfields/icon/valueProcess.js</valueProcess> </entityField> + <entityActionGroup> + <name>Reloading_actionGroup</name> + <children> + <entityActionField> + <name>ReloadEntires_action</name> + <title>Search for new Entries</title> + <onActionProcess>%aditoprj%/entity/LogHistory_entity/entityfields/reloading_actiongroup/children/reloadentires_action/onActionProcess.js</onActionProcess> + <isObjectAction v="false" /> + <iconId>VAADIN:REFRESH</iconId> + </entityActionField> + </children> + </entityActionGroup> </entityFields> <recordContainers> <jDitoRecordContainer> diff --git a/entity/LogHistory_entity/entityfields/reloading_actiongroup/children/reloadentires_action/onActionProcess.js b/entity/LogHistory_entity/entityfields/reloading_actiongroup/children/reloadentires_action/onActionProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..859ea6ca00cc4430746641e87e886e9c0bfa073c --- /dev/null +++ b/entity/LogHistory_entity/entityfields/reloading_actiongroup/children/reloadentires_action/onActionProcess.js @@ -0,0 +1,2 @@ +import("system.neon"); +neon.refresh(); \ No newline at end of file diff --git a/neonView/LogHistoryFilter_view/LogHistoryFilter_view.aod b/neonView/LogHistoryFilter_view/LogHistoryFilter_view.aod index 8de8af8aed11c23f39e0fda52b772905b34504c1..7d4e08182e5e7bbb5454b1024de173b4090c0588 100644 --- a/neonView/LogHistoryFilter_view/LogHistoryFilter_view.aod +++ b/neonView/LogHistoryFilter_view/LogHistoryFilter_view.aod @@ -1,42 +1,44 @@ -<?xml version="1.0" encoding="UTF-8"?> -<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1"> - <name>LogHistoryFilter_view</name> - <title>Log</title> - <majorModelMode>DISTRIBUTED</majorModelMode> - <filterable v="true" /> - <layout> - <groupLayout> - <name>layout</name> - </groupLayout> - </layout> - <children> - <timelineViewTemplate> - <name>LogHistoryTimeLine</name> - <dateField>DATE_NEW</dateField> - <titleField>USER_NEW</titleField> - <descriptionField>DESCRIPTION</descriptionField> - <iconIdField>#IMAGE</iconIdField> - <entityField>#ENTITY</entityField> - </timelineViewTemplate> - <tableViewTemplate> - <name>LogHistoryTable</name> - <hideContentSearch v="true" /> - <entityField>#ENTITY</entityField> - <isEditable v="false" /> - <columns> - <neonTableColumn> - <name>97886728-fbfe-4d32-b5b4-7dce443e1e2c</name> - <entityField>DATE_NEW</entityField> - </neonTableColumn> - <neonTableColumn> - <name>2647a81d-2a50-433a-8dc9-f701a60e10e8</name> - <entityField>USER_NEW</entityField> - </neonTableColumn> - <neonTableColumn> - <name>02a31f8a-2f91-4364-9d2a-898c4b587afa</name> - <entityField>DESCRIPTION</entityField> - </neonTableColumn> - </columns> - </tableViewTemplate> - </children> -</neonView> +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1"> + <name>LogHistoryFilter_view</name> + <title>Log</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <filterable v="true" /> + <layout> + <groupLayout> + <name>layout</name> + </groupLayout> + </layout> + <children> + <timelineViewTemplate> + <name>LogHistoryTimeLine</name> + <favoriteActionGroup1>Reloading_actionGroup</favoriteActionGroup1> + <dateField>DATE_NEW</dateField> + <titleField>USER_NEW</titleField> + <descriptionField>DESCRIPTION</descriptionField> + <iconIdField>#IMAGE</iconIdField> + <entityField>#ENTITY</entityField> + </timelineViewTemplate> + <tableViewTemplate> + <name>LogHistoryTable</name> + <favoriteActionGroup1>Reloading_actionGroup</favoriteActionGroup1> + <hideContentSearch v="true" /> + <entityField>#ENTITY</entityField> + <isEditable v="false" /> + <columns> + <neonTableColumn> + <name>97886728-fbfe-4d32-b5b4-7dce443e1e2c</name> + <entityField>DATE_NEW</entityField> + </neonTableColumn> + <neonTableColumn> + <name>2647a81d-2a50-433a-8dc9-f701a60e10e8</name> + <entityField>USER_NEW</entityField> + </neonTableColumn> + <neonTableColumn> + <name>02a31f8a-2f91-4364-9d2a-898c4b587afa</name> + <entityField>DESCRIPTION</entityField> + </neonTableColumn> + </columns> + </tableViewTemplate> + </children> +</neonView>