Added method Wrapper.isEmpty(name) that checks if the content of some field is empty or not on a given object.
This commit is contained in:
parent
5b255ce55d
commit
e13575c506
4 changed files with 10 additions and 1 deletions
|
@ -178,7 +178,8 @@ class Group(ModelClass):
|
|||
roles = gen.String(validator=gen.Selection('getGrantableRoles'),
|
||||
multiplicity=(0,None), **m)
|
||||
users = gen.Ref(User, multiplicity=(0,None), add=False, link=True,
|
||||
back=gen.Ref(attribute='groups', show=User.showRoles),
|
||||
back=gen.Ref(attribute='groups', show=User.showRoles,
|
||||
multiplicity=(0,None)),
|
||||
showHeaders=True, shownInfo=('title', 'login'))
|
||||
|
||||
# The Translation class --------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue