version 1.3, 2010/02/15 19:10:23
|
version 1.4, 2012/09/03 13:06:11
|
Line 66 class ZSQLMetadataMapping(SimpleItem):
|
Line 66 class ZSQLMetadataMapping(SimpleItem):
|
|
|
|
|
def manage_addZSQLMetadataMappingForm(self): |
def manage_addZSQLMetadataMappingForm(self): |
"""interface for adding the OSAS_root""" |
"""interface for adding the Metadatamapping""" |
pt=PageTemplateFile('Products/ZSQLExtend/AddZSQLMetadataMapping.zpt').__of__(self) |
pt=PageTemplateFile('Products/ZSQLExtend/AddZSQLMetadataMapping.zpt').__of__(self) |
return pt() |
return pt() |
|
|
def manage_addZSQLMetadataMapping(self,idOfObject,titleOfObject,RESPONSE=None): |
def manage_addZSQLMetadataMapping(self,idOfObject,titleOfObject,RESPONSE=None): |
"""add the OSAS_root""" |
"""add the Metadatampapping""" |
|
|
argList={} |
argList={} |
for arg in self.REQUEST.form.keys(): |
for arg in self.REQUEST.form.keys(): |
Line 183 def manage_addZSQLMetadataMappingRootFor
|
Line 183 def manage_addZSQLMetadataMappingRootFor
|
return pt() |
return pt() |
|
|
def manage_addZSQLMetadataMappingRoot(self,id,title,fields,RESPONSE=None): |
def manage_addZSQLMetadataMappingRoot(self,id,title,fields,RESPONSE=None): |
"""add the OSAS_root""" |
"""add the mapping root""" |
newObj=ZSQLMetadataMappingRoot(id,title,fields) |
newObj=ZSQLMetadataMappingRoot(id,title,fields) |
self._setObject(id,newObj) |
self._setObject(id,newObj) |
if RESPONSE is not None: |
if RESPONSE is not None: |