Hi Tino, I am interested in your work as I could use it for a solution for the "busy-feedback" (recent dzug-list-posting) I guess. We had a short correspondence about that and you suggested to do it via an automatic-redirect. There the problem was the transfer of lots of formdata via url. At the moment I can transfer objects with all properties without any change on the target side. Its only quite slow as I need a http-request for any property. -- many thanks for your replies, Elena ----- Original Message ----- From: "Tino Wildenhain" <tino@wildenhain.de> To: "Elena Schulz" <elena.schulz@gmx.net>; <zope@zope.org> Sent: Tuesday, November 26, 2002 11:46 AM Subject: Re: [Zope] change properties in external methods (was get properties ....)
Hi Elena,
--On Dienstag, 26. November 2002 10:45 +0100 Elena Schulz <elena.schulz@gmx.net> wrote:
Hi Dieter,
the slow motion is due to the many requests I do adding all the properties. So how to create one object or let a custom action create all the objects in a minimum of requests? Can you give some more hints about how to set an object with all the properties and how to transmit it via urllib so I can find a start to do it more efficient?
I'm currently working on a function pair which creates/recreates complete dictionaries to and from a single string which can be transmitted in a hidden form value or may be request body in your case. (In fact its ready - I'm only in the testing stage ;)
In any way you'll end up haveing a dispatcher method on the target site which receives data for object creation as well as their properties. You should be very carefull in designing this as this might open a security hole.
Regards Tino