Is it possible to use a page template tal expression to get the contents of a structured text file? I would like to do something like <div tal:content="context/anStxDoc">filler </div> to bring in the contents of a structured text doc. It can't be that hard but I'm going blind trying find it in the docs. -- David Bear College of Public Programs/ASU Mail Code 0803
also sprach David Bear <David.Bear@asu.edu> [2003.01.29.0645 +0100]:
Is it possible to use a page template tal expression to get the contents of a structured text file?
I don't know, but I don't think so. You will have to use slots and/or macros. I may well be wrong though. -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc to understand recursion you first need to understand recursion.
David Bear wrote at 2003-1-28 22:45 -0700:
Is it possible to use a page template tal expression to get the contents of a structured text file?
I would like to do something like
<div tal:content="context/anStxDoc">filler </div>
to bring in the contents of a structured text doc. It can't be that hard but I'm going blind trying find it in the docs. I think this should be possible.
What happens when you try it? If you want to render it as HTML, the function "structured_text" in "Products.PythonScript.standard" may help you. Dieter
participants (3)
-
David Bear -
Dieter Maurer -
martin f krafft