EduploneWebdidactics/Extensions wd_relations.py,1.2,1.3
Nils Haagen <[email protected]> Wed, 09 Feb 2005 12:27:46 +0000
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneWebdidactics/Extensions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13599/Extensions
Modified Files:
wd_relations.py
Log Message:
changes in skins, mainly, TemplateMixin. incomplete CuPo
Index: wd_relations.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/Extensions/wd_relations.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** wd_relations.py 2 Nov 2004 22:17:44 -0000 1.2
--- wd_relations.py 9 Feb 2005 12:27:44 -0000 1.3
***************
*** 1,3 ****
--- 1,5 ----
from Products.Relations.processor import process
+ #from Products.CMFPlone import transaction_note
+
def relations_save(self, sUid, tUid, jigId):
***************
*** 6,10 ****
triple=[(sUid, tUid, jigId)]
process(jigregistry, connect=triple)
! return 'done.'
def relations_delete(self, ids=[]):
--- 8,16 ----
triple=[(sUid, tUid, jigId)]
process(jigregistry, connect=triple)
! return self.relations_edit()
!
! #transaction_note('Renamed %s in %s' % (str(ids), context.absolute_url()))
! #return state.set(portal_status_message='rELATION SAVED.')
!
def relations_delete(self, ids=[]):
***************
*** 15,17 ****
trip=[(triple[0], triple[1], triple[2])]
process(jigregistry, disconnect=trip)
! return 'done'
--- 21,23 ----
trip=[(triple[0], triple[1], triple[2])]
process(jigregistry, disconnect=trip)
! return self.relations_edit()
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click