1.1 --- a/docs/path-manipulation.html Sun Nov 20 23:37:12 2005 +0000
1.2 +++ b/docs/path-manipulation.html Sun Nov 20 23:37:51 2005 +0000
1.3 @@ -10,4 +10,4 @@
1.4 processing of a resource has progressed, it is sometimes useful to
1.5 apply some kind of transformation to the path in order to produce a
1.6 reference to another resource or application. Consider the simple case
1.7 -of <a href="redirection.html">redirecting</a> a user to another resource:</p><p>First we must obtain a reference to the current resource:<br /></p><pre>this_resource = trans.get_path_without_query() # eg. "/app/resource/some-data"</pre><p>We may wish to redirect the user to the main application resource; this is done by removing <code>resource</code> from the end of the path:</p><pre>this_app = trans.update_path("..") # produces "/app/resource"</pre><p>A complete description of this method can be found in the API documentation.</p></body></html>
1.8 \ No newline at end of file
1.9 +of <a href="redirection.html">redirecting</a> a user to another resource:</p><p>First we must obtain a reference to the current resource:<br /></p><pre>this_resource = trans.get_path_without_query() # eg. "/app/resource/some-data"</pre><p>We may wish to redirect the user to the main application resource; this is done by removing <code>resource</code> from the end of the path:</p><pre>this_app = trans.update_path("..") # produces "/app/resource"</pre><p>A complete description of this method can be found in the <a href="../apidocs/public/WebStack.Generic.Transaction-class.html#update_path">API documentation</a>.</p></body></html>
1.10 \ No newline at end of file