[Zope] EVAL DTML?
Dieter Maurer
dieter@handshake.de
Thu, 4 Jan 2001 22:02:00 +0100 (CET)
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