[Zope] Can't configure configuration

Michel Pelletier michel@digicool.com
Tue, 29 Jun 1999 09:44:30 -0400


> -----Original Message-----
> From: Robert Canary [mailto:rwcanary@ohiocounty.net]
> Sent: Monday, June 28, 1999 9:40 PM
> To: zope@zope.org
> Subject: Re: [Zope] Can't configure configuration
> 
> 
> Sure thing. Here is the Builder code.
> 
> -----Start code-----------------------------------
> <!--#var standard_html_header-->
> 
> <!--#with
> "manage_clone(personal/nrfortener,REQUEST['new_id'],REQUEST)"-->
> <!--#call "manage_changechangeProperties(
> title=REQUEST['new_title'],
> grade=REQUEST['new_grade'],
> )"-->
> <!--#/with-->
> <!--#call "RESPONSE.redirect('manage_main?update-menu=1')"-->
> 
> Congratulations!  You have created a page from template.
> 
> <!--#var standard_html_footer-->
> 
> ------End of Code------------------------------------
> 

'personal/nrfortener' is not legal syntax.  manage_clone wants an object
as it's first argument.  The syntax here is pretty much Python.  From
the *web* your object many be (relative to this script) in
'personal/nrfortener' but from the perspective of the code, it's
probably:

<!--#with manage_clone(personal.nrfortener, REQUEST['new_id'],
REQUEST)"-->

-Michel