[Zope-dev] help with propertysheets

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 23:37:22 +0200 (CEST)


Jeff writes:
 > I am not sure what to pass as 'ns' in the following call, I have tried
 > several different things all with the same error.
 > 
 > The call:
 > self.propertysheets.manage_addPropertySheet(id='Type', ns=globals())
 > 
 > The error:
 > Error Type: TypeError
 > Error Value: bad operand type(s) for +
It's the XML namespace associated with the property sheet.
It's a string.

If you do not use XML in your application, it can probably be
any string, including the empty string.
Otherwise, it should be some URI. Its only requirement
is global uniqueness...


Dieter