Re: [Zope] namespace problems

2001-01-29 Thread Gary Lowder
I really appreciate your help, but I continue to have problems with this line, and this is turning into a quest of sorts ;) . When I use "context.REQUEST.RESPONSE.redirect(URL1)" in my python script I get "NameError URL1". When I bind _ as you suggested, and use "_.RESPONSE.redirect(URL1)" I ge

Re: [Zope] namespace problems

2001-01-28 Thread Gary Lowder
with your line dropped in, my python script still gives me: Error Type: AttributeError Error Value: RESPONSE I'm passing variables via a , how do I let python access that namespace? Thanks, Gary. Chris Withers wrote: > > > How would I do the URL redirect using an equivalent to the > >that

Re: [Zope] namespace problems

2001-01-28 Thread Gary Lowder
', number, 'int') doc.manage_addProperty('exp_date', exp_date, 'date') How would I do the URL redirect using an equivalent to the that's in the DTML Method below? Many thanks again for your time and effort. Gary. Gary Lowder wrote: > > I'm

[Zope] namespace problems

2001-01-28 Thread Gary Lowder
I'm currently trying to add a new folder to an old folder, using input from a calling form, then add two properties to that new folder. I searched the mailing list, and came up with an example that led me to the following, but I'm still getting "Error Type: NameError" "Error Value: manage_addProp

[Zope] how do I get properties from a calling document?

2001-01-27 Thread Gary Lowder
I have series of DTML Documents, at the same level in various folders. The DTML Document (we'll call it 'lot_num') calls another DTML Document (addForm), that sits at the project's root level, which is a form for data input. >From the DTML Document 'lot_num', I can access it's properties with