[Zope] Formulator, Python Scripts and Exception Data
Evan Simpson
evan@4-am.com
Wed, 02 Jan 2002 17:42:06 -0500
Casey Duncan wrote:
> So the following things don't work:
>
> from Products.Formulator.Form import FormValidationError
Either Martijn or you need to add the following lines to a Product
__init__.py somewhere:
from AccessControl import ModuleSecurityInfo
ModuleSecurityInfo('Products').declarePublic('Formulator')
ModuleSecurityInfo('Products.Formulator').declarePublic('Form')
ModuleSecurityInfo('Products.Formulator.Form').declarePublic('FormValidationError')
Cheers,
Evan @ Zope