How do I convert a string to a DTML object? I have a string property which contains DTML. I would like to render it. Something like <dtml-var "_.getitem('property',1)"> however because the object is a string I simply get the exact string. I would like to convert it to a dtml object or interpret it as if it were DTML. Thanks Tom
+-------[ Tom Cameron ]---------------------- | How do I convert a string to a DTML object? | | I have a string property which contains DTML. I would like to render it. | Something like | | <dtml-var "_.getitem('property',1)"> | | however because the object is a string I simply get the exact string. I | would like to convert it to a dtml object or interpret it as if it were | DTML. You need to create a DTML object then, or create a method that creates a temporary DTML object and returns the rendered text. -- Totally Holistic Enterprises Internet| | Andrew Milton The Internet (Aust) Pty Ltd | | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
participants (2)
-
Andrew Kenneth Milton -
Tom Cameron