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

Re: [Zope] namespace problems

2001-01-28 Thread Gary Lowder
') doc.manage_addProperty('exp_date', exp_date, 'date') How would I do the URL redirect using an equivalent to the dtml-call "RESPONSE.redirect(URL1)" that's in the DTML Method below? Many thanks again for your time and effort. Gary. Gary Lowder wrote: I'm currently trying to add a

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 form action..., 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

[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