[Zope] Can't configure configuration

Robert Canary rwcanary@ohiocounty.net
Mon, 28 Jun 1999 08:52:47 -0500


Hi,
Hi,

I am playing around with some of the examples in the Zope managers
guide, and I trying to create a configuration interface according to the
Managers Guide.  The docs do not say how to call the documents or where
the are supposed to be saved at (ie what folder), but ......

I keep getting this:

File /tmp/Zope-rootdir/usr/lib/python1.5/DocumentTemplate/DT_With.py,
line 143, in render
    (Object:
manage_clone(personal/nrfortener,REQUEST['new_id'],REQUEST))
  File /tmp/Zope-rootdir/usr/lib/python1.5/DocumentTemplate/DT_Util.py,
line 268, in eval
    (Object:
manage_clone(personal/nrfortener,REQUEST['new_id'],REQUEST))
  File <string>, line 0, in ?
TypeError: (see above)

here is the code that calls it.

<snipped headers>

<FORM ACTION="Builder" METHOD="POST" ENCTYPE="multipart/form-data">
The following properties are defined for this item.
To change a property's value, edit the value and click "Create Page"
when you are satisfied.
<P>
<TABLE CELLPADDING="4">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>id</STRONG></TD>
  <TD ALIGN="LEFT" VALIGN="TOP">
  <INPUT TYPE="text" NAME="new_id" SIZE="40" >
  </TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
  <STRONG>title</STRONG>
  </TD>
  <TD ALIGN="LEFT" VALIGN="TOP">
  <INPUT NAME="new_title" SIZE="40"></TD>
  </TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
  <STRONG>grade</STRONG>
  </TD>
  <TD ALIGN="LEFT" VALIGN="TOP">
  <INPUT NAME="new_grade" SIZE="40"></TD>
  </TD>
</TR><TR>
  <TD ALIGN="LEFT" VALIGN="TOP">
  </TD>
  <TD ALIGN="LEFT" VALIGN="TOP">
  <INPUT TYPE="SUBMIT" VALUE="Create Page">
  </TD>
</TR>
</TABLE></FORM>
</BODY></HTML>


These documents are in the /cgi-bin/Zope/Zope.cgi/personal the
properties I am trying to clone is in
/cgi-bin/Zope/Zope.cgi/personal/nrfortener.

Can anyone see my obvious screw ups :-(

Thanks in advance :-)

--
robert canary
system services
OhioCounty.Net
rwcanary@ohiocounty.net
(270)298-9331 Office
(270)298-7449 Fax