i need to catch an exception in a HTML page and need to pass the contol an another page in the container object. please suggest me how to do it...<br><br>thankyou.<br><br><div class="gmail_quote">On Mon, Jun 30, 2008 at 3:52 PM, Andreas Jung <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>> 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="Ih2E3d"><br>
<br>
--On 30. Juni 2008 13:23:53 +0100 suhail shaik <<a href="mailto:suhailsqm@gmail.com" target="_blank">suhailsqm@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
I am thinking of using tal:on-error to catch an exception and<br>
traverse to a default pagetemplate.<br>
could some one please help me regarding the code ....<br>
<br>
please clarify if the following statement is valid.<br>
<br>
<div> tal:on-error=""<br>
<p><a href="error" tal:attributes="href python:<br>
container.error.absolute_url()"></a></p></div><br>
</blockquote>
<br></div>
tal:on-error in general is evil. Don't use it.<br>
Afaik it eats even ZODB conflict-errors which might cause some<br>
trouble.<br><font color="#888888">
<br>
-aj</font></blockquote></div><br>