hi andreas:<br><br>the reason i need to do it this way is that no page template must be modified ... so i cant call a py script from the template.<br><br>regards,<br><font color="#888888">AK</font><br><br><div class="gmail_quote">
On Wed, Mar 11, 2009 at 1:56 PM, Andreas Jung <span dir="ltr">&lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>This approach is broken by design-by-design. If you want to depend on<br>
the execution order: move the related code into a Python script and call<br>
the script from within the template.<br>
<br>
- -aj<br>
<div class="im"><br>
On 11.03.2009 9:18 Uhr, Analog Kid wrote:<br>
&gt; i want to make sure that a certain method gets called before anything<br>
&gt; else when the template gets rendered. so if i know about the order in<br>
&gt; which page template methods get called, i can patch one (the first in<br>
&gt; the order).<br>
&gt;<br>
&gt; thanks,<br>
&gt; AK<br>
&gt;<br>
&gt; On Wed, Mar 11, 2009 at 1:28 PM, Andreas Jung &lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Where and why is this relevant?<br>
&gt;<br>
&gt;     -aj<br>
&gt;<br>
&gt;     On Wed, Mar 11, 2009 at 08:54, Analog Kid &lt;<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</a><br>
</div><div class="im">&gt;     &lt;mailto:<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</a>&gt;&gt; wrote:<br>
&gt;     &gt; sry about that ... what i mean is i need to know the order of<br>
&gt;     methods when a<br>
&gt;     &gt; page is rendered (on server) ...<br>
&gt;     &gt;<br>
&gt;     &gt; regards,<br>
&gt;     &gt; AK<br>
&gt;     &gt;<br>
&gt;     &gt; On Wed, Mar 11, 2009 at 1:02 PM, Andreas Jung &lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a><br>
</div><div class="im">&gt;     &lt;mailto:<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt;&gt; wrote:<br>
&gt;     &gt;&gt;<br>
&gt; On 11.03.2009 6:22 Uhr, Analog Kid wrote:<br>
&gt;&gt; Hi All:<br>
&gt;<br>
&gt;&gt; I need to know the order of method calls inside ZopePageTemplate.py<br>
&gt;&gt; whenever a form from the PT is submitted or even when the PT is<br>
&gt;&gt; rendered. Can anyone shed some light on this please?<br>
&gt;<br>
&gt;<br>
&gt; This question makes no sense. Template rendering (generation of HTML)<br>
&gt; occurs on the *server*, form submission on the *browser*.<br>
&gt;<br>
&gt; -aj<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
<br>
- --<br>
</div>ZOPYX Ltd. &amp; Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany<br>
Web: <a href="http://www.zopyx.com" target="_blank">www.zopyx.com</a> - Email: <a href="mailto:info@zopyx.com">info@zopyx.com</a> - Phone +49 - 7071 - 793376<br>
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535<br>
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK<br>
- ------------------------------------------------------------------------<br>
E-Publishing, Python, Zope &amp; Plone development, Consulting<br>
<div class="im"><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAkm3dZgACgkQCJIWIbr9KYxr+wCffbKYES6t8aS8Fd+eV4So0BN7<br>
zRYAoKh3jdY1eE9nRw4o4VRbgkDd6xnD<br>
=8qjv<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>