4 Jan
2001
4 Jan
'01
9:02 p.m.
Brian Withun writes:
Is it possible to, say, retrieve DTML code from an external database (such as Sybase) and then have that DTML code render itself? As I recall there is a security issue with Zope allowing Python to EVAL dtml.. You can't do it in DTML, but you can in an External Python Method:
Look at "DocumentTemplate.DT_HTML.HTML" (and "DocumentTemplate.DT_String.String). You create a new "DocumentTemplate.DT_HTML.HTML" from your DTML code and then call it. Dieter