[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Wed, 25 Sep 2002 19:45:53 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-29

---------------

      Typically you'll define an error handler on a tag that encloses
      a logical page element, for example a table. If an error crops
      up drawing the table, then the error handler can simply omit the
      table from the page, or else replace it with an error message of
      some sort.

        % Anonymous User - Sep. 25, 2002 7:45 pm:
         When i have <table on-error="rhubarb"> .... </table>
         and an error occured, since on-error replaces the content, 
         will i then have <table>rhubarb</table>
         without <tr>s and <td>s ?