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
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.
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()?
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
?
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
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