Skip to content
Snippets Groups Projects
Commit 32953eb8 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

refactor Attribute entity

parent 40786bfc
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@
<entityDependency>
<name>47ac9f95-8879-43fd-92a9-86079e735e58</name>
<entityName>Attribute_entity</entityName>
<fieldName>AttributeUsage_dfo</fieldName>
<fieldName>AttributeUsages</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
......
......@@ -53,7 +53,7 @@
<title>{$USER_EDIT}</title>
</entityField>
<entityConsumer>
<name>AttributeChild_dfo</name>
<name>AttributeChildren</name>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
......@@ -61,7 +61,7 @@
</dependency>
</entityConsumer>
<entityProvider>
<name>AttributeParent_dfi</name>
<name>AttributeParent</name>
<fieldType>DEPENDENCY_IN</fieldType>
<recordContainer>db</recordContainer>
</entityProvider>
......@@ -71,7 +71,7 @@
<description>PARAMETER</description>
</entityParameter>
<entityConsumer>
<name>AttributeUsage_dfo</name>
<name>AttributeUsages</name>
<title>Usage</title>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
......@@ -82,7 +82,7 @@
<children>
<entityParameter>
<name>attributeId_param</name>
<code>%aditoprj%/entity/Attribute_entity/entityfields/attributeusage_dfo/children/attributeid_param/code.js</code>
<code>%aditoprj%/entity/Attribute_entity/entityfields/attributeusages/children/attributeid_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
......
import("system.vars");
import("system.result");
import("system.vars");
import("system.result");
result.string(vars.get("$field.AB_ATTRIBUTEID"));
\ No newline at end of file
<?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.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AttributeEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>AttrEdit_template</name>
<editMode v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>0c6cd7c6-cced-4719-b0c5-08f8e3d13f2f</name>
<entityField>ATTRIBUTE_NAME</entityField>
</entityFieldLink>
<entityFieldLink>
<name>8cbc6049-2530-4960-b45f-830f3220889e</name>
<entityField>ATTRIBUTE_TYPE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>d26696ac-199c-45f0-9147-b75dee3f4b65</name>
<entityField>ATTRIBUTE_ACTIVE</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<neonViewReference>
<name>8387ef27-9565-400f-a0d5-ef1d2019b722</name>
<entityField>AttributeUsage_dfo</entityField>
<view>AttributeUsageMultiEdit_view</view>
</neonViewReference>
</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.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AttributeEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>AttrEdit_template</name>
<editMode v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>0c6cd7c6-cced-4719-b0c5-08f8e3d13f2f</name>
<entityField>ATTRIBUTE_NAME</entityField>
</entityFieldLink>
<entityFieldLink>
<name>8cbc6049-2530-4960-b45f-830f3220889e</name>
<entityField>ATTRIBUTE_TYPE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>d26696ac-199c-45f0-9147-b75dee3f4b65</name>
<entityField>ATTRIBUTE_ACTIVE</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<neonViewReference>
<name>8387ef27-9565-400f-a0d5-ef1d2019b722</name>
<entityField>AttributeUsages</entityField>
<view>AttributeUsageMultiEdit_view</view>
</neonViewReference>
</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.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AttributeMain_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<masterSlaveLayout>
<name>layout</name>
<master>b8e5b606-4fbb-4a74-b7c4-ac612a9797f2</master>
</masterSlaveLayout>
</layout>
<children>
<neonViewReference>
<name>b8e5b606-4fbb-4a74-b7c4-ac612a9797f2</name>
<entityField>#ENTITY</entityField>
<view>AttributePreview_view</view>
</neonViewReference>
<neonViewReference>
<name>d8009eea-f473-4f65-8796-a1ab48ef3b49</name>
<entityField>#ENTITY</entityField>
<view>AttributeFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>5dee1c0b-c670-4eb9-bd95-6f6474709aa2</name>
<entityField>AttributeUsage_dfo</entityField>
<view>AttributeUsageFilter_view</view>
</neonViewReference>
</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.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AttributeMain_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<masterSlaveLayout>
<name>layout</name>
<master>b8e5b606-4fbb-4a74-b7c4-ac612a9797f2</master>
</masterSlaveLayout>
</layout>
<children>
<neonViewReference>
<name>b8e5b606-4fbb-4a74-b7c4-ac612a9797f2</name>
<entityField>#ENTITY</entityField>
<view>AttributePreview_view</view>
</neonViewReference>
<neonViewReference>
<name>d8009eea-f473-4f65-8796-a1ab48ef3b49</name>
<entityField>#ENTITY</entityField>
<view>AttributeFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>5dee1c0b-c670-4eb9-bd95-6f6474709aa2</name>
<entityField>AttributeUsages</entityField>
<view>AttributeUsageFilter_view</view>
</neonViewReference>
</children>
</neonView>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment