Index: openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/www/render-styles/all-in-one/Attic/render-element.adp,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.adp 22 Jan 2004 02:50:12 -0000 1.4 +++ openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.adp 27 Feb 2004 21:47:13 -0000 1.5 @@ -31,5 +31,5 @@ Index: openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/www/render-styles/all-in-one/Attic/render-element.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.tcl 24 Jan 2004 01:22:48 -0000 1.3 +++ openacs-4/contrib/packages/portal/www/render-styles/all-in-one/render-element.tcl 27 Feb 2004 21:47:13 -0000 1.4 @@ -32,16 +32,3 @@ # Get all the good stuff we need to render this sucker array set element [portal::element::get_render_data -element_id $element_id] -# We call the template engine directly to render the element rather than use an "include" -# statement in render-element.adp so we can catch the error and display a pretty -# error message. - -with_catch errmsg { - set include "" - set code [template::adp_compile -string $include] - set element(content) [string trim [template::adp_eval code]] -} { - ns_log error "Error rendering portal element $element_id:\n\n$errmsg\n\n" - set element(content) "application error" -} -# edit_p, return_url, page_id, and layout_id from the layout_template Index: openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/www/render-styles/individual/Attic/render-element.adp,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.adp 22 Jan 2004 02:50:12 -0000 1.5 +++ openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.adp 27 Feb 2004 21:47:13 -0000 1.6 @@ -29,4 +29,4 @@ @element.shaded_p;noquote@ @element.hideable_p;noquote@ -@element.content;noquote@ + Index: openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/www/render-styles/individual/Attic/render-element.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.tcl 24 Jan 2004 01:22:48 -0000 1.4 +++ openacs-4/contrib/packages/portal/www/render-styles/individual/render-element.tcl 27 Feb 2004 21:47:13 -0000 1.5 @@ -30,16 +30,3 @@ # Get all the good stuff we need to render this sucker array set element [portal::element::get_render_data -element_id $element_id -edit_p $edit_p] - -# We call the template engine directly to render the element rather than use an "include" -# statement in render-element.adp so we can catch the error and display a pretty -# error message. - -with_catch errmsg { - set include "" - set code [template::adp_compile -string $include] - set element(content) [string trim [template::adp_eval code]] -} { - ns_log error "Error rendering portal element $element_id:\n\n$errmsg\n\n" - set element(content) "application error" -}