Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -r1.288 -r1.289 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 14 Jan 2011 10:37:43 -0000 1.288 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 27 Jan 2011 12:57:52 -0000 1.289 @@ -1288,9 +1288,10 @@ foreach css [$context_package_id get_parameter extra_css ""] {::xo::Page requireCSS -order 10 $css} # refetch template_file, since it might have been changed via set-parameter + # the cache flush (next line) is not pretty here and should be supported from xotcl-core + catch {::xo::cc unset cache([list $context_package_id get_parameter template_file])} set template_file [my query_parameter "template_file" \ [::$context_package_id get_parameter template_file view-default]] - # if the template_file does not have a path, assume it in xowiki/www if {![regexp {^[./]} $template_file]} { set template_file /packages/xowiki/www/$template_file