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"><<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>></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>
> i want to make sure that a certain method gets called before anything<br>
> else when the template gets rendered. so if i know about the order in<br>
> which page template methods get called, i can patch one (the first in<br>
> the order).<br>
><br>
> thanks,<br>
> AK<br>
><br>
> On Wed, Mar 11, 2009 at 1:28 PM, Andreas Jung <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>>> wrote:<br>
><br>
> Where and why is this relevant?<br>
><br>
> -aj<br>
><br>
> On Wed, Mar 11, 2009 at 08:54, Analog Kid <<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</a>>> wrote:<br>
> > sry about that ... what i mean is i need to know the order of<br>
> methods when a<br>
> > page is rendered (on server) ...<br>
> ><br>
> > regards,<br>
> > AK<br>
> ><br>
> > On Wed, Mar 11, 2009 at 1:02 PM, Andreas Jung <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>>> wrote:<br>
> >><br>
> On 11.03.2009 6:22 Uhr, Analog Kid wrote:<br>
>> Hi All:<br>
><br>
>> I need to know the order of method calls inside ZopePageTemplate.py<br>
>> whenever a form from the PT is submitted or even when the PT is<br>
>> rendered. Can anyone shed some light on this please?<br>
><br>
><br>
> This question makes no sense. Template rendering (generation of HTML)<br>
> occurs on the *server*, form submission on the *browser*.<br>
><br>
> -aj<br>
> ><br>
> ><br>
<br>
- --<br>
</div>ZOPYX Ltd. & 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 & 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>