equal
deleted
inserted
replaced
119 mainopts = {} |
119 mainopts = {} |
120 # "self.id=='systempropertiesform'" to skip site wide properties on |
120 # "self.id=='systempropertiesform'" to skip site wide properties on |
121 # user's preference but not site's configuration |
121 # user's preference but not site's configuration |
122 for key in vreg.user_property_keys(self.__regid__=='systempropertiesform'): |
122 for key in vreg.user_property_keys(self.__regid__=='systempropertiesform'): |
123 parts = key.split('.') |
123 parts = key.split('.') |
124 if parts[0] in vreg: |
124 if parts[0] in vreg and len(parts) >= 3: |
125 # appobject configuration |
125 # appobject configuration |
126 reg, oid, propid = parts |
126 reg = parts[0] |
|
127 propid = parts[-1] |
|
128 oid = '.'.join(parts[1:-1]) |
127 groupedopts.setdefault(reg, {}).setdefault(oid, []).append(key) |
129 groupedopts.setdefault(reg, {}).setdefault(oid, []).append(key) |
128 else: |
130 else: |
129 mainopts.setdefault(parts[0], []).append(key) |
131 mainopts.setdefault(parts[0], []).append(key) |
130 # precompute form to consume error message |
132 # precompute form to consume error message |
131 for group, keys in mainopts.items(): |
133 for group, keys in mainopts.items(): |