<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,7 +56,8 @@ def doc_process(module, REQUEST):
 
     # first, carry out the initial document creation.
     reset_widgets()
-    module.onModuleLoad()
+    m = module()
+    m.onModuleLoad()
 
     p = RootPanel()
     
@@ -84,4 +85,8 @@ def doc_process(module, REQUEST):
         body.remove(child)
         form.append(child)
     body.append(form)
+
+    #from pickle import dump
+    #f = open(&quot;/tmp/dump.obj&quot;, &quot;w&quot;)
+    #dump(m, f)
     return etree.tostring(xml_doc)</diff>
      <filename>pyjamas-web/library/__pyjamas__.py</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ class ZCTmainpage:
         from GridTest import GridTest
         init_doc(&quot;/home/lkcl/src/pyjamas-desktop/pyjamas-web/examples/gridtest/GridTest.html&quot;)
         m = GridTest()
-        return doc_process(m, REQUEST)
+        return doc_process(GridTest, REQUEST)
 
     def registerpage(self, REQUEST):
         &quot;&quot;&quot; returns the register page, which comprises</diff>
      <filename>pyjamas-web/mainpage.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>84d19eb7296e18ac252c888228a3558aaaa84708</id>
    </parent>
  </parents>
  <author>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </author>
  <url>http://github.com/lkcl/pyjamas-desktop/commit/de9c54ada8b7a841a59a0b5132dff1a8d89fea48</url>
  <id>de9c54ada8b7a841a59a0b5132dff1a8d89fea48</id>
  <committed-date>2008-09-06T08:26:19-07:00</committed-date>
  <authored-date>2008-09-06T08:26:19-07:00</authored-date>
  <message>pickling experiment</message>
  <tree>e8564e356d71a01a3abe8db27b56c697ebc59546</tree>
  <committer>
    <name>lkcl</name>
    <email>lkcl@lkcl.net</email>
  </committer>
</commit>
