[Zope] regarding tal:on-error

2008-06-30 Thread suhail shaik
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= pa href=error tal:attributes=href python:

Re: [Zope] regarding tal:on-error

2008-06-30 Thread Andreas Jung
--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

Re: [Zope] regarding tal:on-error

2008-06-30 Thread suhail shaik
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

Re: [Zope] regarding tal:on-error

2008-06-30 Thread Andreas Jung
--On 30. Juni 2008 16:24:31 +0100 suhail shaik [EMAIL PROTECTED] wrote: i need to catch an exception in a HTML page and need to pass the contol an another page in the container object. Better fix your code in a way that it does not throw _any_ exception. That's the way to go. -aj