Skip to content
Snippets Groups Projects
Commit 2487490e authored by S.Listl's avatar S.Listl
Browse files

ObjectProxy documentation

parent 03687d23
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import("Attribute_lib"); ...@@ -6,7 +6,7 @@ import("Attribute_lib");
var attributeType = vars.get("$field.ATTRIBUTE_TYPE"); var attributeType = vars.get("$field.ATTRIBUTE_TYPE");
var fieldState; var fieldState;
if (AttributeTypeUtil.useLookup(attributeType)) if (AttributeTypeUtil.useLookup(attributeType) && vars.get("$sys.recordstate") != neon.OPERATINGSTATE_VIEW)
fieldState = neon.COMPONENTSTATE_INVISIBLE; fieldState = neon.COMPONENTSTATE_INVISIBLE;
else if (AttributeTypeUtil.getContentType(attributeType) != null) else if (AttributeTypeUtil.getContentType(attributeType) != null)
fieldState = neon.COMPONENTSTATE_EDITABLE; fieldState = neon.COMPONENTSTATE_EDITABLE;
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.13" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.13"> <entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.13" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.13">
<name>ObjectProxy_entity</name> <name>ObjectProxy_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/ObjectProxy_entity/documentation.adoc</documentation>
<contentTitleProcess>%aditoprj%/entity/ObjectProxy_entity/contentTitleProcess.js</contentTitleProcess> <contentTitleProcess>%aditoprj%/entity/ObjectProxy_entity/contentTitleProcess.js</contentTitleProcess>
<recordContainer>jdito</recordContainer> <recordContainer>jdito</recordContainer>
<entityFields> <entityFields>
......
= ObjectProxy_entity
This entity takes an entity name and optionally a filter as parameters and gives back the records of that entity.
For many entities there is a consumer that is used directly via the targetConsumerProcess, otherwise entities.loadRows is used to get the uids and content titles.
The main purpose of this is for a lookup for attributes of the type object selection.
\ 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