<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Pavel Zaitsev wrote:
<blockquote cite="mid1153783186.25754.8.camel@neo" type="cite">
  <pre wrap="">В Пнд, 24/07/2006 в 15:00 -0700, David H пишет
  </pre>
  <blockquote type="cite">
    <pre wrap="">Pavel,

You question is a bit vague but ...

Make your index_html a python script.  And then stuff your REQUEST with 
info you want

Then just call the Page Template ...

request.set('formvar1', somevalue)
return context.myPageTemplate(context.request)

Of course of you have &lt;forms&gt; submit with an action="." and method="post".

Then you can intercept all calls using index_html, do what you need to 
do and *then* render the next form.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
here is description:

root/
        index_html
        index_tmpl &lt;-- invokes here.content_html
 
root/some/web/page
        index_html  &lt;-- overriding root one, calls --   context.index_tmpl(some
parameters=some parameters).
        content_html &lt;-- gets called from index_tmpl

So i want parameters that are presented to index_html be presented to
context_html just like they would be presented to index_html.
So i would be able to call context_html from outside as well from the
inside. Ie &lt;span tal:replace="username"/&gt; should work in both
cases. I thought thats the way zope's code reuse works.
Thanks
Pavel

  </pre>
</blockquote>
Pavel,<br>
<br>
How are you invoking templates?  Give code snippets.  <br>
<br>
Have you read the "Advanced Scripting" section in the Zope book? 
Plope.com has a the latest version (i think).<br>
<br>
<br>
<br>
David<br>
<br>
<br>
<br>
<br>
</body>
</html>