[Grok-dev] How do I get all available roles?

Sascha Boch sascha.boch at gmx.de
Fri Jul 30 07:13:03 EDT 2010

Thanks, I modified your code a bit and it works fine:

class IAddUser(interface.Interface):
    user = schema.BytesLine(title=u'User name', required = True)
    role = schema.Set(title=u'Role', required = True, value_type = 
schema.Choice(title=u'Role', vocabulary='Role Ids'))

Just out of curiosity - how do I know what vocablaries are available by 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20100730/73ee8774/attachment.html 

More information about the Grok-dev mailing list