Skip to content
Snippets Groups Projects
Commit 358e289c authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

Language in Org_entity with Countries_entity

parent 594177c9
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,12 @@
<fieldName>Countries_dfo</fieldName>
<isOutgoing v="false" />
</entityDependency>
<entityDependency>
<name>8e8d1ace-3cbb-4ed7-b029-f486805605ef</name>
<entityName>Org_entity</entityName>
<fieldName>Countries_dfo</fieldName>
<isOutgoing v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
......
......@@ -73,8 +73,10 @@
<entityField>
<name>LANGUAGE</name>
<title>Language</title>
<outgoingField>Countries_dfo</outgoingField>
<possibleItemsProcess>%aditoprj%/entity/Org_entity/entityfields/language/possibleItemsProcess.js</possibleItemsProcess>
<selectionMode>SINGLE</selectionMode>
<displayValueProcess>%aditoprj%/entity/Org_entity/entityfields/language/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>ORG_ID</name>
......@@ -456,6 +458,15 @@
<onActionProcess>%aditoprj%/entity/Org_entity/entityfields/orgreport/onActionProcess.js</onActionProcess>
<iconId>VAADIN:FILE_TEXT_O</iconId>
</entityActionField>
<entityOutgoingField>
<name>Countries_dfo</name>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>Countries_Entity</entityName>
<fieldName>ISO2_NAME</fieldName>
</dependency>
</entityOutgoingField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("system.result");
result.string(vars.getString("$field.LANGUAGE"));
\ No newline at end of file
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