def afterSetUp(self): schema = Schema(id='interval_schema', title='Interval Schema') self.schema = schema.__of__(self.portal.portal_schemas) addIntervalWidget(self.schema, 'theint-property', title='Interval Wid.')
def afterSetUp(self): schema = Schema(id='geo_schema', title='Geo Schema') self.schema = schema.__of__(self.portal.portal_schemas) addGeoWidget(self.schema, 'thegeo-property', title='Geo Location')