[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/service - __init__.py:1.3

Fred L. Drake, Jr. fred at zope.com
Wed Sep 24 16:43:40 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/service
In directory cvs.zope.org:/tmp/cvs-serv8498/src/zope/app/browser/services/service

Modified Files:
	__init__.py 
Log Message:
When adding a registerable object, use the new registration.html view
 to make it easier for the user to see the current status activate the
 object if desired.


=== Zope3/src/zope/app/browser/services/service/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/service/__init__.py:1.2	Sun Sep 21 13:31:01 2003
+++ Zope3/src/zope/app/browser/services/service/__init__.py	Wed Sep 24 16:43:10 2003
@@ -42,11 +42,11 @@
 
     def nextURL(self):
         v = zapi.queryView(
-            self.added_object, "addRegistration.html", self.request)
+            self.added_object, "registration.html", self.request)
         if v is not None:
             url = str(
                 zapi.getView(self.added_object, 'absolute_url', self.request))
-            return url + "/@@addRegistration.html"
+            return url + "/@@registration.html"
 
         return super(ComponentAdding, self).nextURL()
 




More information about the Zope3-Checkins mailing list