web/uicfg.py
branchstable
changeset 3597 de066e1b4c36
parent 3489 3766d53c607e
child 3629 559cad62c786
child 3689 deb13e88e037
--- a/web/uicfg.py	Wed Oct 07 14:37:15 2009 +0200
+++ b/web/uicfg.py	Wed Oct 07 15:09:03 2009 +0200
@@ -184,12 +184,7 @@
                 card = rschema.rproperty(sschema, oschema, 'cardinality')[1]
                 composed = rschema.rproperty(sschema, oschema, 'composite') == 'subject'
             if card in '1+':
-                if not rschema.is_final() and composed:
-                    # XXX why? probably because we want it unlined, though this
-                    # is not the case by default
-                    section = 'generated'
-                else:
-                    section = 'primary'
+                section = 'primary'
             elif rschema.is_final():
                 section = 'secondary'
             else: