From 540981e3474647b79eb01de93ce5048f4bee8344 Mon Sep 17 00:00:00 2001 From: Markus Escher <m.escher@adito.de> Date: Mon, 22 Jun 2020 10:21:00 +0200 Subject: [PATCH] #1058709 Usersettings: add Settings Context/Entity/Editview --- entity/Settings_entity/Settings_entity.aod | 31 +++++++++++++++++++ .../_____LANGUAGE_EXTRA.aod | 3 ++ .../_____LANGUAGE_de/_____LANGUAGE_de.aod | 4 +++ .../_____LANGUAGE_en/_____LANGUAGE_en.aod | 3 ++ neonContext/Settings/Settings.aod | 14 +++++++++ .../SettingsEdit_view/SettingsEdit_view.aod | 26 ++++++++++++++++ 6 files changed, 81 insertions(+) create mode 100644 entity/Settings_entity/Settings_entity.aod create mode 100644 neonContext/Settings/Settings.aod create mode 100644 neonView/SettingsEdit_view/SettingsEdit_view.aod diff --git a/entity/Settings_entity/Settings_entity.aod b/entity/Settings_entity/Settings_entity.aod new file mode 100644 index 0000000000..1ca486ce5f --- /dev/null +++ b/entity/Settings_entity/Settings_entity.aod @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14"> + <name>Settings_entity</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <title>Settings</title> + <titlePlural>Settings</titlePlural> + <recordContainer>jdito</recordContainer> + <entityFields> + <entityProvider> + <name>#PROVIDER</name> + </entityProvider> + <entityField> + <name>TEST</name> + <title>Testfield</title> + </entityField> + <entityField> + <name>UID</name> + </entityField> + </entityFields> + <recordContainers> + <jDitoRecordContainer> + <name>jdito</name> + <jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias> + <recordFieldMappings> + <jDitoRecordFieldMapping> + <name>UID.value</name> + </jDitoRecordFieldMapping> + </recordFieldMappings> + </jDitoRecordContainer> + </recordContainers> +</entity> diff --git a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod index fe1fbb9b35..ddc835b182 100644 --- a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod +++ b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod @@ -6803,6 +6803,9 @@ <entry> <key>${SQL_LIB_FIELD_WRONG_FORMAT}</key> </entry> + <entry> + <key>Settings</key> + </entry> </keyValueMap> <font name="Dialog" style="0" size="11" /> <sqlModels> diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod index fa13543e38..7f108cf897 100644 --- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod +++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod @@ -6,6 +6,10 @@ <country></country> <variant></variant> <keyValueMap> + <entry> + <key>Settings</key> + <value>Einstellungen</value> + </entry> <entry> <key>{SEARCH_INDEX_TITLE}</key> <value>Suche</value> diff --git a/language/_____LANGUAGE_en/_____LANGUAGE_en.aod b/language/_____LANGUAGE_en/_____LANGUAGE_en.aod index 484ad7c3e5..960fee9349 100644 --- a/language/_____LANGUAGE_en/_____LANGUAGE_en.aod +++ b/language/_____LANGUAGE_en/_____LANGUAGE_en.aod @@ -6869,6 +6869,9 @@ <entry> <key>Valid from (as </key> </entry> + <entry> + <key>Settings</key> + </entry> </keyValueMap> <font name="Dialog" style="0" size="11" /> </language> diff --git a/neonContext/Settings/Settings.aod b/neonContext/Settings/Settings.aod new file mode 100644 index 0000000000..496444744e --- /dev/null +++ b/neonContext/Settings/Settings.aod @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonContext 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/neonContext/1.1.1"> + <name>Settings</name> + <title>Settings</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <editView>SettingsEdit_view</editView> + <entity>Settings_entity</entity> + <references> + <neonViewReference> + <name>40cbd631-043c-44d9-b79b-e7675b69bf7f</name> + <view>SettingsEdit_view</view> + </neonViewReference> + </references> +</neonContext> diff --git a/neonView/SettingsEdit_view/SettingsEdit_view.aod b/neonView/SettingsEdit_view/SettingsEdit_view.aod new file mode 100644 index 0000000000..5c5b013f66 --- /dev/null +++ b/neonView/SettingsEdit_view/SettingsEdit_view.aod @@ -0,0 +1,26 @@ +<?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.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.6"> + <name>SettingsEdit_view</name> + <title>Settings</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <layout> + <boxLayout> + <name>layout</name> + </boxLayout> + </layout> + <children> + <genericViewTemplate> + <name>Edit</name> + <editMode v="true" /> + <hideEmptyFields v="false" /> + <entityField>#ENTITY</entityField> + <isEditable v="true" /> + <fields> + <entityFieldLink> + <name>603b25a8-c69c-468d-8323-40191f0c1d80</name> + <entityField>TEST</entityField> + </entityFieldLink> + </fields> + </genericViewTemplate> + </children> +</neonView> -- GitLab