[Checkins] SVN: zope3org/trunk/src/zorg/wikification/README.txt
Cosmetic changes
Uwe Oestermeier
u.oestermeier at iwm-kmrc.de
Wed May 2 01:00:39 EDT 2007
Log message for revision 74983:
Cosmetic changes
Changed:
U zope3org/trunk/src/zorg/wikification/README.txt
-=-
Modified: zope3org/trunk/src/zorg/wikification/README.txt
===================================================================
--- zope3org/trunk/src/zorg/wikification/README.txt 2007-05-02 04:55:46 UTC (rev 74982)
+++ zope3org/trunk/src/zorg/wikification/README.txt 2007-05-02 05:00:39 UTC (rev 74983)
@@ -52,7 +52,6 @@
If we assume that the first link in index.html works and the second is a dead
one, the resulting HTML could look as follows :
-
>>> from zorg.wikification.browser.wikipage import WikiFilePage
>>> from zorg.wikification.browser.wikipage import CreateWikiPage
>>> url = "http://127.0.0.1/site/index.html"
@@ -75,11 +74,11 @@
<BLANKLINE>
- The task of creating a new page is delegated to the createFile method of the
- wiki page. We considered the possibility to adapt the traversal mechanism
- in order to throw add forms in case of TraversalErrors, but a simple
- page method seems to be the simplest solution:
-
+The task of creating a new page is delegated to the createFile method of the
+wiki page. We considered the possibility to adapt the traversal mechanism
+in order to throw add forms in case of TraversalErrors, but a simple
+page method seems to be the simplest solution:
+
>>> request = TestRequest("/index.html", form={'add':'folder1/newitem', })
>>> page = CreateWikiPage(site, request)
>>> new_file = page.createFile()
More information about the Checkins
mailing list