Re: [Zope] Form-Through-Script

2007-08-13 Thread Andreas Jung
--On 13. August 2007 17:40:35 -0400 [EMAIL PROTECTED] wrote: I would LOVE to do that. I don't know how :( Can you point me to a good tutorial or explain this a bit and give me some KW to chase down in google? Tony, please think about what you're doing for a moment. If you want to call a m

Re: [Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
I would LOVE to do that. I don't know how :( Can you point me to a good tutorial or explain this a bit and give me some KW to chase down in google? TIA, Tony -Original Message- From: Tom Von Lahndorff <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent:

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
or maybe you have an "update" page where you remove items and then a "confirm" page where you can send to PP? On Aug 13, 2007, at 5:14 PM, [EMAIL PROTECTED] wrote: I'm trying to make a silk purse out of a pig's ear :) I have a form where purchasers can deselect items they've added to their

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
Sounds like the script should check to see if the user is removing something like: if remove remove the item redirect back to the udpated form page else send to PP this way once the item is removed and the same script is called, since there's no remove this time, it'll go to PP. On Aug

Re: [Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
I'm trying to make a silk purse out of a pig's ear :) I have a form where purchasers can deselect items they've added to their shopping cart. All the hidden fields have been numbered according to the items they *originally* selected. If they deselect an item, then it will probably necessitate

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
can you describe what you're trying to do a little more clearly? On Aug 13, 2007, at 4:29 PM, [EMAIL PROTECTED] wrote: Well it didn't like that, either: Invalid request The parameter, doc, was omitted from the request. again. But look here: enctype="multipart/form-data"> See, I have a de

Re: [Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
Well it didn't like that, either: Invalid request The parameter, doc, was omitted from the request. again. But look here: See, I have a definition of "docs", but it's not pointing to a "use-macro" widget. Must be the problem, but how do I do that? TIA, Tony -Original Message- F

Re: [Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
multipart/form-data The content-type, right? That threw this error: Compilation failed xml.parsers.expat.ExpatError: unbound prefix: line 1, column 0 TIA, Tony -Original Message- From: Tom Von Lahndorff <[EMAIL PROTECTED]> To: Andreas Jung <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTE

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
I think you want: method="post" enctype="multipart/form-data"> http://example.com/s/renumberTheCart"; method="post"> (my tal may be a bit off) On Aug 13, 2007, at 4:09 PM, [EMAIL PROTECTED] wrote: No, it should work the way it is...that is a URL I passed. I changed it to an absolute

Re: [Zope] Form-Through-Script

2007-08-13 Thread Tom Von Lahndorff
On Aug 13, 2007, at 3:55 PM, Andreas Jung wrote: --On 13. August 2007 15:39:40 -0400 [EMAIL PROTECTED] wrote: Hi; I have a form that I need to send to a script and then send off to a URL (PayPal). I need to process it through the script to renumber things for PP. How do I do this? I im

Re: [Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
No, it should work the way it is...that is a URL I passed. I changed it to an absolute URL just to double-check, and got basically the same error: Invalid request The parameter, doc, was omitted from the request. How do I pass the parameter, which in my case is quite long and stashed neatly

Re: [Zope] Form-Through-Script

2007-08-13 Thread Andreas Jung
--On 13. August 2007 15:39:40 -0400 [EMAIL PROTECTED] wrote: Hi; I have a form that I need to send to a script and then send off to a URL (PayPal). I need to process it through the script to renumber things for PP. How do I do this? I imagine I add an element to the PT like so: but I need

[Zope] Form-Through-Script

2007-08-13 Thread tonylabarbara
Hi; I have a form that I need to send to a script and then send off to a URL (PayPal). I need to process it through the script to renumber things for PP. How do I do this? I imagine I add an element to the PT like so: but I need to pass a parameter "doc", which, of course, is the document I'm

Re: [Zope] What If It Doesn't Have a Key?

2007-08-13 Thread tonylabarbara
Oh <;) Thanks. Tony -Original Message- From: Andreas Jung <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; zope@zope.org Sent: Mon, 13 Aug 2007 12:47 pm Subject: Re: [Zope] What If It Doesn't Have a Key? ? --On 13. August 2007 12:36:13 -0400 [EMAIL PROTECTED] wrote:? ? > Hi;? > I have this

Re: [Zope] What If It Doesn't Have a Key?

2007-08-13 Thread Martijn Pieters
On 8/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have this line of code: > Better written as > I would like to do the exact opposite of that. In other words, have the > condition render if checkbox_1 does not exist. How do I do that? Either use a 'not' in your python expression

Re: [Zope] debugging memory exhaustion

2007-08-13 Thread Dieter Maurer
Chris Withers wrote at 2007-8-13 10:02 +0100: > ... >> It is used for the "Extreme cache detail" ZMI page >> but can also be used differently (e.g. from an "External Methode" >> or via the "ZServer Monitor Server" interactively). > >I've never known how to use the monitor server. Are there examples

Re: [Zope] What If It Doesn't Have a Key?

2007-08-13 Thread Andreas Jung
--On 13. August 2007 12:36:13 -0400 [EMAIL PROTECTED] wrote: Hi; I have this line of code: I would like to do the exact opposite of that. In other words, have the condition render if checkbox_1 does not exist. How do I do that? TIA, Tony Look at the 'not:' directive. -aj pgpdaqNta21Ho.pg

[Zope] What If It Doesn't Have a Key?

2007-08-13 Thread tonylabarbara
Hi; I have this line of code: I would like to do the exact opposite of that. In other words, have the condition render if checkbox_1 does not exist. How do I do that? TIA, Tony AOL now offers free email to everyone. Find ou

Re: [Zope] Re: zope 2.10.4 for windows installer

2007-08-13 Thread Chris Withers
chan.yinghoong wrote: Chris Withers <[EMAIL PROTECTED]> writes: Are there plans to release Zope 2.9.8 window installer also? Sidnei, could you crank the handle? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk __

[Zope] Re: zope 2.10.4 for windows installer

2007-08-13 Thread chan . yinghoong
Chris Withers <[EMAIL PROTECTED]> writes: > > anton wrote: > > Hi, > > > > its now over a motch that zope 2.10.4 was released. > > > > Does anybody have an idea when there will be a windows installer? > > Likely on Saturday... > > Chris > Are there plans to release Zope 2.9.8 window install

Re: [Zope] debugging memory exhaustion

2007-08-13 Thread Chris Withers
Dieter Maurer wrote: "ZODB.DB.DB" provides methods for detailed analysis of the cached objects. Cool, I'll bear that in mind... It is used for the "Extreme cache detail" ZMI page but can also be used differently (e.g. from an "External Methode" or via the "ZServer Monitor Server" interactivel