Commit 6544f815 authored by Ivan Tyagov's avatar Ivan Tyagov

UI fixes.

parent 4c280ce1
...@@ -25,6 +25,7 @@ if default_opcua_document is None: ...@@ -25,6 +25,7 @@ if default_opcua_document is None:
default_opcua_document = context.opcua_document_module.get(default_id, None) default_opcua_document = context.opcua_document_module.get(default_id, None)
if default_opcua_document is None: if default_opcua_document is None:
default_opcua_document = context.opcua_document_module.newContent( default_opcua_document = context.opcua_document_module.newContent(
title = "Default",
portal_type = "OPCUA Document", portal_type = "OPCUA Document",
id = default_id) id = default_id)
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>portal_type</string> <string>columns</string>
<string>selection_name</string> <string>selection_name</string>
<string>title</string> <string>title</string>
</list> </list>
...@@ -65,6 +65,21 @@ ...@@ -65,6 +65,21 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_list_mode_listbox</string> </value> <value> <string>my_list_mode_listbox</string> </value>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment