Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.310 -r1.311 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Nov 2008 08:48:49 -0000 1.310 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Nov 2008 09:08:01 -0000 1.311 @@ -1026,7 +1026,7 @@ return [my include $arg] } - Page ad_instproc include {arg} { + Page ad_instproc include {-configure arg} { Include the html of the includelet. The method generates an includelet object (might be an other xowiki page) and renders it and returns either html or an error message. @@ -1035,6 +1035,9 @@ if {$page eq ""} { return [my error_during_render [_ xowiki.error-includelet-unknown]] } + if {[info exists configure]} { + eval $page configure $configure + } return [my render_includelet $page] }