i need to catch an exception in a HTML page&nbsp; and need to pass the contol&nbsp; 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 &lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt; 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 &lt;<a href="mailto:suhailsqm@gmail.com" target="_blank">suhailsqm@gmail.com</a>&gt; 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>
 &nbsp; &nbsp; &nbsp; 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>
&lt;div&gt; tal:on-error=&quot;&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;a href=&quot;error&quot; tal:attributes=&quot;href python:<br>
container.error.absolute_url()&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;<br>
</blockquote>
<br></div>
tal:on-error in general is evil. Don&#39;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>