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...

thankyou.

On Mon, Jun 30, 2008 at 3:52 PM, Andreas Jung <[EMAIL PROTECTED]> wrote:

>
>
> --On 30. Juni 2008 13:23:53 +0100 suhail shaik <[EMAIL PROTECTED]>
> wrote:
>
>  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>
>>
>
> tal:on-error in general is evil. Don't use it.
> Afaik it eats even ZODB conflict-errors which might cause some
> trouble.
>
> -aj
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to