[Zope-CVS] CVS: Products/CompositePage - designuis.py:1.9

Shane Hathaway shane at zope.com
Tue Mar 16 10:33:38 EST 2004


Update of /cvs-repository/Products/CompositePage
In directory cvs.zope.org:/tmp/cvs-serv31588

Modified Files:
	designuis.py 
Log Message:
Various manual UI fixes.

- Use POST to change templates

- Use the correct URL of the composite tool

- Rollovers


=== Products/CompositePage/designuis.py 1.8 => 1.9 ===
--- Products/CompositePage/designuis.py:1.8	Fri Mar  5 16:41:04 2004
+++ Products/CompositePage/designuis.py	Tue Mar 16 10:33:06 2004
@@ -90,7 +90,7 @@
         """Returns the fragments to be inserted in design mode.
         """
         params = {
-            "tool": aq_parent(aq_inner(self)),
+            "tool": aq_parent(aq_inner(aq_parent(aq_inner(self)))),
             "ui": self,
             "composite": composite,
             }
@@ -301,12 +301,19 @@
     manual_styles_css = InterpolatedFile(
         "manual_styles.css", "text/css", _manual)
     header_templates = (PageTemplateFile("header.pt", _manual),)
+    bottom_templates = CommonUI.bottom_templates + (
+        PageTemplateFile("bottom.pt", _manual),)
     manual_js = RawFile("manual.js", "text/javascript", _manual)
     add_icon = RawFile("add.gif", "image/gif", _manual)
+    add_rollover = RawFile("add_rollover.gif", "image/gif", _manual)
     remove_icon = RawFile("remove.gif", "image/gif", _manual)
+    remove_rollover = RawFile("remove_rollover.gif", "image/gif", _manual)
     cut_icon = RawFile("cut.gif", "image/gif", _manual)
+    cut_rollover = RawFile("cut_rollover.gif", "image/gif", _manual)
     copy_icon = RawFile("copy.gif", "image/gif", _manual)
+    copy_rollover = RawFile("copy_rollover.gif", "image/gif", _manual)
     paste_icon = RawFile("paste.gif", "image/gif", _manual)
+    paste_rollover = RawFile("paste_rollover.gif", "image/gif", _manual)
 
     security.declarePublic("renderBody")
     def renderBody(self, composite):




More information about the Zope-CVS mailing list