[gen] Added some layouts for Ref fields in Ref.wLayouts and Ref.wdLayouts; added a new, simpler way of defining auto-references (=Ref fields that refer to the class containing the field), via method appy.gen.autoref; stop catching exceptions raised by Actions (so a partial action can't be committed anymore).
This commit is contained in:
parent
61b0ed2fce
commit
812bda7452
4 changed files with 51 additions and 31 deletions
|
@ -511,7 +511,7 @@ class ToolClassDescriptor(ClassDescriptor):
|
|||
fieldName = 'resultColumnsFor%s' % className
|
||||
fieldType = gen.String(multiplicity=(0,None), validator=gen.Selection(
|
||||
'_appy_getAllFields*%s' % className), page='userInterface',
|
||||
group=classDescr.klass.__name__)
|
||||
group=classDescr.klass.__name__, default=['title'])
|
||||
self.addField(fieldName, fieldType)
|
||||
|
||||
def addSearchRelatedFields(self, classDescr):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue