How to render STX using ZPT?
Hello, I've a small python product. The management screens are all using page templates. Now there needs to be a option to specify one class attribute is in STX format. Is there any easy way to render content using STX rules using ZPT? Current code is: <div tal:replace="structure here/mycontent">Lorem ipsum...</div> Is there any function/keyword etc. that I can use for STX? Thanks in advance Satheehs Babu http://vsbabu.org/
On Fri, Jul 19, 2002 at 10:54:36AM -0500, vsbabu@vsbabu.org wrote:
Now there needs to be a option to specify one class attribute is in STX format. Is there any easy way to render content using STX rules using ZPT?
Looks like it. http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/06D72E8416767F9A http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/97A8097D59F1DEB9 -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
vsbabu@vsbabu.org writes:
I've a small python product. The management screens are all using page templates.
Now there needs to be a option to specify one class attribute is in STX format. Is there any easy way to render content using STX rules using ZPT? In "Products.PythonScripts.standard", you will find "structured_text", a function that renders structured text.
Dieter
participants (3)
-
Dieter Maurer -
Mike Renfro -
vsbabuļ¼ vsbabu.org