Author: jmorliaguet
Date: Tue Oct  4 22:46:00 2005
New Revision: 27939

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt
Log:

- test updates



Modified: z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt  
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt  Tue Oct 
 4 22:46:00 2005
@@ -30,8 +30,9 @@
    to obtain the data, the portlet's getDisplayData()' method is called:
 
     >>> from cpsskins.model import DisplayData
-    >>> location, view = (None, None)
-    >>> data = portlet.getDisplayData(location, request, view)
+    >>> from cpsskins.browser.renderers import Context
+    >>> info = Context({'request': request})
+    >>> data = portlet.getDisplayData(info)
 
    which should return a 'DisplayData' object:
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to