I am a little unclear into which object I should add the nextURL method.<br>  <br>  In myclass/browser/configure.zcml I have addMenuItem and addForm directives. I have tried adding the nextURL method to the class specified in the 'class' parameter of the addForm directive. That does not work.<br>  <br>  Stephan replied that the zope.app.form classes is where to override the nextURL method, but where do I fit a zope.app.form instance into my configuration?<br>  <br>  Thanks,<br>  <br>  John<br><br><b><i>Cliff Ford &lt;Cliff.Ford@ed.ac.uk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> This is an example mextURL function that I used to add a folder <br>containing a page, and then go to the folder. Going to the page is just <br>an addition to the last line.<br><br>HTH<br><br>Cliff<br><br>     def nextURL(self):<br><br>         """ This function is called for redirection after folder
 creation.<br>         We can use it to fill out metadata collected from a custom add <br>form.<br>         """<br></blockquote><br><p>
                <hr size=1> 
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">Yahoo! Cars</a> 
<font color="red">NEW</font> - sell your car and browse thousands of new and used cars online <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">search now</a> 
</font> 
<hr size=1> 
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">