[Zope] regarding tal:on-error

suhail shaik suhailsqm at gmail.com
Mon Jun 30 08:23:53 EDT 2008


hi,
       I am thinking of using tal:on-error to catch an exception and
traverse to a default pagetemplate.
could some one please help me regarding the code ....

please clarify if the following statement is valid.

<div> tal:on-error=""
           <p><a href="error" tal:attributes="href python:
container.error.absolute_url()"></a></p></div>

i believe the above is the wrong form of implementation. I actually need to
traverse to "container.error.absolute_url()".

please could some one give me the details regarding how to traverse the the
following url if the error has occured in a block of code...

kindly reply...

.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080630/8811db40/attachment.html


More information about the Zope mailing list