Index: openacs-4/packages/new-portal/www/render_styles/all_in_one/render-element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/render_styles/all_in_one/render-element.tcl,v diff -u -r1.5 -r1.5.12.1 --- openacs-4/packages/new-portal/www/render_styles/all_in_one/render-element.tcl 9 Aug 2002 20:56:31 -0000 1.5 +++ openacs-4/packages/new-portal/www/render_styles/all_in_one/render-element.tcl 3 Oct 2005 18:07:17 -0000 1.5.12.1 @@ -26,12 +26,12 @@ region:onevalue } -if { [catch {set element_data [portal::evaluate_element_raw $element_id] } errmsg ] } { +if { [catch {set element_data [portal::evaluate_element -portal_id $portal_id -edit_p f $element_id $theme_id] } errmsg ] } { # An uncaught error happened when trying to evaluate the element. # If the error is in the element's "show" proc, the error will # be shown in the content of the portlet. This is for errors other # than with the "show" proc. - ns_log error "\n\n *** Error in portal/www/render_sytles/all_in_one/render-element.tcl \n Uncaught exception when calling portal::evaluate_element \n with element_id $element_id\n\n" + ns_log error "\n\n *** Error in portal/www/render_sytles/all_in_one/render-element.tcl \n Uncaught exception when calling portal::evaluate_element \n with element_id $element_id\n\n ERROR $errmsg" ad_return -code error } else { # all is ok