[Grok-dev] How do I get all available roles?
Christian Klinger
cklinger at novareto.de
Fri Jul 30 07:22:18 EDT 2010
Sascha,
in in the Book "Web Component Development with Zope3" is a list
of useful vocabularies.
Christian
> 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
> default?
>
>
>
> --
> 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
>
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list