[Zope3-Users] Add and Edit form

2006-05-12 Thread John Smith
Problem: Would like to add an object to a container and jump to the edit screen for the newly created object immediately. Currently, adding an object to a container takes me to the container's content list. When there are 10 or 15 people all adding objects, finding the one I entered in order to

Re: [Zope3-Users] Add and Edit form

2006-05-12 Thread Stephan Richter
On Friday 12 May 2006 09:36, John Smith wrote:  a) there is something already in zope3 that I don't know about :) Add forms, both zope.app.form and zope.formlib.form allow you to specify a nextURL method. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D.

Re: [Zope3-Users] Add and Edit form

2006-05-12 Thread Fred Drake
On 5/12/06, Cliff Ford [EMAIL PROTECTED] wrote: This is an example mextURL function that I used to add a folder containing a page, and then go to the folder. Going to the page is just an addition to the last line. This is very confusing. Why are you creating new content in nextURL()?

Re: [Zope3-Users] Add and Edit form

2006-05-12 Thread John Smith
I am a little unclear into which object I should add the nextURL method.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.Stephan

RE: [Zope3-Users] Add and Edit form

2006-05-12 Thread David Johnson
? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Smith Sent: Friday, May 12, 2006 10:41 AM To: Zope3-users@zope.org Subject: Re: [Zope3-Users] Add and Edit form I am a little unclear into which object I should add the nextURL method. In myclass/browser/configure.zcml I have

Re: [Zope3-Users] Add and Edit form

2006-05-12 Thread Cliff Ford
Fred Drake wrote: On 5/12/06, Cliff Ford [EMAIL PROTECTED] wrote: This is an example mextURL function that I used to add a folder containing a page, and then go to the folder. Going to the page is just an addition to the last line. This is very confusing. Why are you creating new content