[Zope] No redirect on folder manage_editProperties

Ken Dobruskin ken@dobruskin.com
Fri, 22 Jun 2001 12:09:16 +0200


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0076_01C0FB14.285942B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My fellow Zopistas,
=20
I did something 'quick and dirty' with Zope. Wishing to use my client's =
existing members database, and not succeeding at adding Zclass instances =
programatically, I just took their big table of data, massaged it into =
XML and uploaded it with XML2Zope. Pasting a dtml doc, 'content_html' =
into each folder (to display the properties) and renaming the folders =
were mindless chores; I added a ZCatalog, and presto! my first Zope web =
site.
=20
Now for my punishment...=20
=20
Actually, all I want to do is allow the members to update their folder =
properties, but without redirecting to the ZMI. Yet, unlike with =
Zclasses, the standard folder manage_editProperties method doesn't seem =
like a good 'customisation target'.
=20
How should this be done?


------=_NextPart_000_0076_01C0FB14.285942B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>My fellow Zopistas,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I did something 'quick and dirty' with =
Zope.=20
Wishing to use my client's existing members database, and not succeeding =
at=20
adding Zclass instances programatically, I just took their big table of =
data,=20
massaged it into XML and uploaded it with XML2Zope. Pasting a dtml doc,=20
'content_html'&nbsp;into each folder (to display the properties) and =
renaming=20
the folders were mindless chores; I&nbsp;added a ZCatalog, and presto! =
my first=20
Zope web site.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now for&nbsp;</FONT><FONT face=3DArial =
size=3D2>my=20
punishment... </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Actually, all I want to do is allow the =
members to=20
update their folder properties, but without redirecting to the ZMI. Yet, =
unlike=20
with Zclasses,&nbsp;the standard folder manage_editProperties method =
doesn't=20
seem like a good 'customisation target'.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How should this be done?</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0076_01C0FB14.285942B0--