[Zope] Showing DTML - Checked by AntiVir -

Chris Withers lists at simplistix.co.uk
Wed Mar 17 04:36:25 EST 2004


(stop posting in HTML, really, this is getting irritating!)

Serg wrote:

> I have trival class on Python:
>  
> manage_addMin_allForm=DTMLFile('dtml\manage_addMin_allForm',globals())
> class min_all(SimpleItem.SimpleItem):
> ...
>  
> How I can show & exec manage_addMin_allForm on external Python script?

Why do you want to do this?

> I can use 
> RESPONSE.redirect('manage_addProduct/Minimal/manage_addMin_allForm').
> But I want to do some like this: self.manage_addMin_allForm().

self.manage_addProduct['Minimal'].manage_addMin_allForm(self,self.REQUEST)

Why are you using DTML?!

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list