[Zapp-cvs-commit] ZApp ZApp_CMFBase.py,1.16.2.4,1.16.2.5
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-10-28 15:46:39
|
Update of /cvsroot/zapp/ZApp
In directory sc8-pr-cvs1:/tmp/cvs-serv4199
Modified Files:
Tag: CMF_relations
ZApp_CMFBase.py
Log Message:
make ZApp_CMF folderish..
Index: ZApp_CMFBase.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v
retrieving revision 1.16.2.4
retrieving revision 1.16.2.5
diff -C2 -d -r1.16.2.4 -r1.16.2.5
*** ZApp_CMFBase.py 26 Oct 2003 18:53:43 -0000 1.16.2.4
--- ZApp_CMFBase.py 28 Oct 2003 15:43:33 -0000 1.16.2.5
***************
*** 44,47 ****
--- 44,48 ----
meta_type = 'ZApp CMF Content'
zapp_cmf_type = 1
+ isPrincipiaFolderish = 1
_primaryKeyStringSize=255 # allow for a pretty rediculous size...
***************
*** 123,127 ****
calling setstate.. set state gets called when an object is pulled into memory
"""
! print "in setstate for %s with state '%s'" % (self.id, `state`)
result = SkinnedFolder.__setstate__(self, state)
print "XXXXX*****XXXXXX got result '%s'" % `result`
--- 124,133 ----
calling setstate.. set state gets called when an object is pulled into memory
"""
! try:
! rep = `state`
! except:
! rep = "can't render"
!
! print "in setstate for %s with state '%s'" % (self.id, rep)
result = SkinnedFolder.__setstate__(self, state)
print "XXXXX*****XXXXXX got result '%s'" % `result`
***************
*** 132,136 ****
# save the 'safeStorageID' so we can use it when we're added again..
#
!
oldID = self.getId()
--- 138,142 ----
# save the 'safeStorageID' so we can use it when we're added again..
#
! print "In _setID for ", id
oldID = self.getId()
***************
*** 272,275 ****
--- 278,283 ----
initCMFObjectMetadata(o)
o.change()
+
+ print "Added CMF Object:" , id
if klass != ZApp_CMFBase:
|