[Checkins] SVN: grokapps/gbewiki/REVIEW.txt added action feedback and DublinCore samples

Michael Haubenwallner michael at d2m.at
Sat Aug 30 07:29:21 EDT 2008


Log message for revision 90611:
  added action feedback and DublinCore samples

Changed:
  U   grokapps/gbewiki/REVIEW.txt

-=-
Modified: grokapps/gbewiki/REVIEW.txt
===================================================================
--- grokapps/gbewiki/REVIEW.txt	2008-08-30 10:21:03 UTC (rev 90610)
+++ grokapps/gbewiki/REVIEW.txt	2008-08-30 11:29:20 UTC (rev 90611)
@@ -107,7 +107,15 @@
 general registrations. ZPTs then are rendered to the methods and attributes 
 provided by the calling view class.
 
+The templates also display the pages last modification date and editor. 
+GAE stores the date of modification with the object, Grok adapts the context 
+object to the IZopeDublinCore interface to retrieve modification info inside the 
+view class::
 
+    def dc(self):
+        return IZopeDublinCore(self.context)
+
+
 Loading and Storing
 -------------------
 
@@ -216,6 +224,16 @@
         grok.context(grok.View)
         ...
 
+
+Action based feedback
+---------------------
+
+Several actions return a feedback message to the user which is displayed on the
+next response page above the content.
+
+    self.flash('Your account has been created. You are now logged in')
+
+
 Overall
 -------
 



More information about the Checkins mailing list