[Checkins] SVN: Sandbox/cklinger/example/trunk/ Letting the Demo work again

Christian Klinger cklinger at novareto.de
Thu Mar 19 05:43:49 EDT 2009


Log message for revision 98260:
  Letting the Demo work again

Changed:
  U   Sandbox/cklinger/example/trunk/etc/debug.ini
  U   Sandbox/cklinger/example/trunk/src/example/app.py
  U   Sandbox/cklinger/example/trunk/src/example/message/forms.py
  U   Sandbox/cklinger/example/trunk/src/example/message/otherlayout.pt

-=-
Modified: Sandbox/cklinger/example/trunk/etc/debug.ini
===================================================================
--- Sandbox/cklinger/example/trunk/etc/debug.ini	2009-03-19 09:19:49 UTC (rev 98259)
+++ Sandbox/cklinger/example/trunk/etc/debug.ini	2009-03-19 09:43:49 UTC (rev 98260)
@@ -1,7 +1,7 @@
 [filter-app:main]
 # Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
 # on the console:
-use = egg:z3c.evalexception#pdb
+use = egg:z3c.evalexception#ajax
 next = zope
 
 [app:zope]

Modified: Sandbox/cklinger/example/trunk/src/example/app.py
===================================================================
--- Sandbox/cklinger/example/trunk/src/example/app.py	2009-03-19 09:19:49 UTC (rev 98259)
+++ Sandbox/cklinger/example/trunk/src/example/app.py	2009-03-19 09:43:49 UTC (rev 98260)
@@ -24,7 +24,7 @@
     pass # see app_templates/index.pt
 
 
-class ExampleLayout(megrok.pagelet.LayoutView):
+class ExampleLayout(megrok.pagelet.Layout):
     """ This is our general Layout Template"""
     grok.context(Interface)
     megrok.pagelet.template('layout.pt')

Modified: Sandbox/cklinger/example/trunk/src/example/message/forms.py
===================================================================
--- Sandbox/cklinger/example/trunk/src/example/message/forms.py	2009-03-19 09:19:49 UTC (rev 98259)
+++ Sandbox/cklinger/example/trunk/src/example/message/forms.py	2009-03-19 09:43:49 UTC (rev 98260)
@@ -53,6 +53,6 @@
     fields = field.Fields(interfaces.IHelloWorld)
 
 
-class NewLayout(megrok.pagelet.LayoutView):
+class NewLayout(megrok.pagelet.Layout):
     grok.context(message.HelloWorld)
     megrok.pagelet.template('otherlayout.pt')

Modified: Sandbox/cklinger/example/trunk/src/example/message/otherlayout.pt
===================================================================
--- Sandbox/cklinger/example/trunk/src/example/message/otherlayout.pt	2009-03-19 09:19:49 UTC (rev 98259)
+++ Sandbox/cklinger/example/trunk/src/example/message/otherlayout.pt	2009-03-19 09:43:49 UTC (rev 98260)
@@ -13,7 +13,7 @@
          padding: 1em;
        }
        #content{
-         border: 5px solid #999;
+         border: 5px solid #FFFFFF;
          padding: 1em;
          background: #aaa;
        }



More information about the Checkins mailing list