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.47 -r1.48 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 16 Apr 2007 11:15:10 -0000 1.47 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 2 May 2007 10:13:39 -0000 1.48 @@ -186,6 +186,9 @@ } else { # use adp file foreach css [$package_id get_parameter extra_css ""] {::xowiki::Page requireCSS $css} + # refetch it, since it might have been changed via set-parameter + set template_file [my query_parameter "template_file" \ + [::$package_id get_parameter template_file view-default]] if {![regexp {^[./]} $template_file]} { set template_file /packages/xowiki/www/$template_file