Hi John,
John Smith wrote:
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
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 conten
?
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
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
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()? Should
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.
HTH
Cliff
def nextURL(self):
""" This function is called for redirection after folder creation.
We can use
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