Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-07 Thread Dieter Maurer
Edward Huixquic wrote at 2005-6-7 01:11 -0500: Since you sent your reply not to the list but to my email That was a mistake. It should have gone to the mailing list... I dared to respond directly, let me know if you prefer not to receive direct emails and sorry if my dare bothered you. In

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-06 Thread Edward Huixquic
Thanks Tino for your comments, here are some more comments: On 6/5/05, Tino Wildenhain [EMAIL PROTECTED] wrote: cut stuff def pyUpdate(self,REQUEST): fields=REQUEST['fields'] x=REQUEST['x']=fields[0] y=REQUEST['y']=fields[1] x.balance=5000 y.balance=5000 I

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-06 Thread Dieter Maurer
Edward Huixquic wrote at 2005-6-5 19:21 -0500: ... dtml-if process dtml-in fields mapping dtml-call pyUpdate(REQUEST) Why do you call pyUpdate in a loop? Well, actually I am getting the fields data from a ZSQLMethod dictionaries(), so, I am trying to do something to each record

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Tino Wildenhain
Am Sonntag, den 05.06.2005, 00:05 -0500 schrieb Edward Huixquic: Thanks Dieter for your kind reply, Here is a complete (a bit long, sorry for that) example of what is happening, here are some code pieces that shows this behavior: DTML:

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Dieter Maurer
Edward Huixquic wrote at 2005-6-5 00:05 -0500: ... dtml-if process dtml-in fields mapping dtml-call pyUpdate(REQUEST) Why do you call pyUpdate in a loop? ... Name: input type=text name=fields.name:records value=Mickeybr Thus fields becomes a list of ZPublisher.HTTPRequest.record

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Edward Huixquic
Dieter: Thanks again for your time and your excellent help. Below are some comments of my own to yours message, (hope the post doesn't become too mangled and hard to read). On 6/5/05, Dieter Maurer [EMAIL PROTECTED] wrote: Edward Huixquic wrote at 2005-6-5 00:05 -0500: ... dtml-if process

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-04 Thread Dieter Maurer
Corporate Email Corp. wrote at 2005-6-3 17:30 -0500: Does Zope allos an external method to modify a dictionary object that is passed to the external method via the REQUEST object. Zope does not restrict an External Method in any way. ... items_list = [{'element1':'element1value',

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-04 Thread Edward Huixquic
Thanks Dieter for your kind reply, Here is a complete (a bit long, sorry for that) example of what is happening, here are some code pieces that shows this behavior: DTML: -- HTML BODY dtml-if process dtml-in fields mapping dtml-call

[Zope] Modifying a Dictionaries in an Extenal Method

2005-06-03 Thread Corporate Email Corp.
Zopistas: Does Zope allos an external method to modify a dictionary object that is passed to the external method via the REQUEST object. I am working with the object: items_list = [{'element1':'element1value', 'element2':'element2value','element3': element3value},{},] I am getting