[SV: [Zope] Changing Objects properties]

Oliver Marx Oliver@tekk.dk
Mon, 24 Mar 2003 14:30:06 +0100


This is a multi-part message in MIME format.
--------------090502040002050102090902
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Well, it looks like it.

I would look at the Zope source code.

\Oliver

-- 
Direktør / Managing Director
Oliver Marx

TEKK
Lyngbyvej 20
DK-2100 København Ø

Main: +45 39 15 80 60
Direct: +45 39 15 80 62

http://www.tekk.dk

--------------090502040002050102090902
Content-Type: message/rfc822;
 name="SV: [Zope] Changing Objects properties"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="SV: [Zope] Changing Objects properties"

Return-Path: <jens@bkinformatik.dk>
Delivered-To: oliver.tekk.dk@pop3.pil.dk
Received: from njord.pil.dk (njord.pil.dk [193.162.142.3])
	by heimdal.pil.dk (Postfix) with ESMTP id 21F5554F3
	for <Oliver@tekk.dk>; Mon, 24 Mar 2003 14:20:45 +0100 (CET)
Received: from mail.bkinformatik.dk (cpe.atm4-0-1181181.0x503feea6.hrnxx4.customer.tele.dk [80.63.238.166])
	by njord.pil.dk (Postfix) with ESMTP id 9884D5555A
	for <Oliver@tekk.dk>; Mon, 24 Mar 2003 14:20:41 +0100 (CET)
Received: from [192.168.1.2] (helo=server1.bkinformatik.dk)
	by mail.bkinformatik.dk with esmtp (Exim 4.10)
	id 18xRsW-0002Sj-00
	for Oliver@tekk.dk; Mon, 24 Mar 2003 14:20:40 +0100
Subject: SV: [Zope] Changing Objects properties
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 24 Mar 2003 14:21:49 +0100
Message-ID: <23BF741DC57A074BA3D65FC1222A398DC533@server1.bkinformatik.dk>
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Zope] Changing Objects properties
Thread-Index: AcLyB7PHZvpD3CE4QwalbCtOVRpZCAAABa9Q
From: "Jens JB. Bjerre" <jens@bkinformatik.dk>
To: "Oliver Marx" <Oliver@tekk.dk>
X-Spam-Score: 0.0 (/)
X-Spam-Flag: NO
X-Spam-Report: SPAM: -------------------- Start SpamAssassin results ----------------------
	SPAM: This mail is probably spam.  The original message has been altered
	SPAM: so you can recognise or block similar unwanted mail in future.
	SPAM: See http://spamassassin.org/tag/ for more details.
	SPAM: 
	SPAM: Content analysis details:   (0 hits, 5 required)
	SPAM: 
	SPAM: -------------------- End of SpamAssassin results ---------------------
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *18xRsW-0002Sj-00*yJORN96KM.c*

Hi

Thank's, but i have tried that.

My update form have an action pointing to this method:

------------------------------------------------------------
<dtml-var standard_html_header>
<dtml-call "PARENTS[0].manage_changeProperties(beskrivelse =3D =
REQUEST['new_beskrivelse'])">

<dtml-var standard_html_footer>
-------------------------------------------------------------

When i try that, i get the following error:

Zope Error
Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: manage_changeProperties

Maby it's a question of NameSpace ???

Regards

Jens

-----Oprindelig meddelelse-----
Fra: Oliver Marx [mailto:Oliver@tekk.dk]=20
Sendt: 24. marts 2003 14:16
Til: Jens JB. Bjerre
Cc: zope@zope.org
Emne: Re: [Zope] Changing Objects properties

Jens JB. Bjerre wrote:
> Hi
>=20
> =20
>=20
> I have a newbee question. I have made a form in a DTMLMethod which i'm =

> going to use, to change some properties in an object. I'm calling it=20
> with: http://site/theObjectToChange/theMethod  - and that part is=20
> working fine. When I have changed the values, how can I "save" those=20
> changes to the object.
>=20
> =20
>=20
> Regards
>=20
> =20
>=20
> Jens Bjerre
>=20
manage_changeProperties is your friend... I think ;)

\Oliver

--=20
Direkt=F8r / Managing Director
Oliver Marx

TEKK
Lyngbyvej 20
DK-2100 K=F8benhavn =D8

Main: +45 39 15 80 60
Direct: +45 39 15 80 62

http://www.tekk.dk



--------------090502040002050102090902--