title: (How) can I pass POST arguments from one cherrypy page class to another?
body: <p>Following Cherrypy's <a href="http://www.cherrypy.org/wiki/CherryPyTutorial#ReceivingdatafromHTMLforms" rel="nofollow">tutorial</a>, it seems fairly easy to receive data from a form "within" a page class. Now, i have tried to pass the arguments to <em>another</em> page class's index page like the following:</p>
  
  <p>In my root index page I have the following form:</p>
  
  <pre><code>&lt;form action="otherpage" method="post"&gt;
      &lt;input type="text" name="arg1"&gt; 
      ... 
  &lt;/form&gt;
  </code></pre>
  
  <p>while the receiving page's class is like:</p>
  
  <pre><code>class OtherPage:
     def index(self, arg1=None):
        return arg1
  </code></pre>
  
  <p>and it is mounted like</p>
  
  <pre><code>root.otherpage = Otherpage()
  </code></pre>
  
  <p>It always shows a blank page, regardless of what I put in the form, so I guess it doesn't get the parameter "arg" passed correctly. Do you see what's wrong?</p>