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

webmaster@zope.org webmaster@zope.org
Sun, 05 Jan 2003 16:49:37 -0500


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 ?

        % Anonymous User - Jan. 5, 2003 4:49 pm:
         Nope - you get "Rubarb" instead of "<table....../table>"