Re: [Zopexmlmethods-devel] Override variable definitions via query string?
Brought to you by:
arielpartners,
philikon
|
From: Craeg K S. <cs...@ar...> - 2003-05-19 10:07:24
|
Philipp von Weitershausen wrote: > Hi Craeg, > >> But for official project documents, we _do_ want a table of contents. >> Here, in my naivete, is that I tried to do inside my page template: >> >> <div tal:define="doc nocall:python:folder[docname]" > > > nocall:python: is overhead. Simply do > <div tal:define="doc python:folder[docname]"> So its only required if not using "python:" ? >> <div tal:replace="structure doc/articlexsl?toc='yes'"/> > > tales does not allow URL syntax. You will have to call it using a > python expression: > <div tal:replace="structure python:doc.articlexsl(toc='yes')"> > > Now, that's the way you'd want it to work. It won't work > unfortunately, because <snip/> I agree. Let's work to make this happen. I always hated XSLparameters as well. If you think you can get to it this week, great. If not, I will take a stab at it. I really need this functionality. Its not much work-- about the same amount of changes to tests as real code... --Craeg |