appy.gen: bugfixes.

This commit is contained in:
Gaetan Delannay 2012-03-03 23:29:32 +01:00
parent 91d3887847
commit 431511026c
3 changed files with 15 additions and 7 deletions

View file

@ -136,8 +136,9 @@ class User(ModelClass):
# All methods defined below are fake. Real versions are in the wrapper.
title = gen.String(show=False, indexed=True)
gm = {'group': 'main', 'multiplicity': (1,1), 'width': 25}
name = gen.String(**gm)
firstName = gen.String(**gm)
def showName(self): pass
name = gen.String(show=showName, **gm)
firstName = gen.String(show=showName, **gm)
def showLogin(self): pass
def validateLogin(self): pass
login = gen.String(show=showLogin, validator=validateLogin,