Index: openacs-4/contrib/packages/simulation/tcl/template-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/tcl/Attic/template-procs.tcl,v diff -u -r1.63 -r1.64 --- openacs-4/contrib/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 15:31:43 -0000 1.63 +++ openacs-4/contrib/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 16:07:22 -0000 1.64 @@ -1064,6 +1064,7 @@ upvar 1 $array row set array row } + return [workflow::new_from_spec \ -package_key $package_key \ -object_id $object_id \ Index: openacs-4/contrib/packages/simulation/www/simbuild/template-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/template-delete.adp,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/www/simbuild/template-delete.adp 8 Jan 2004 11:03:02 -0000 1.3 +++ openacs-4/contrib/packages/simulation/www/simbuild/template-delete.adp 26 Jan 2004 16:07:22 -0000 1.4 @@ -6,4 +6,6 @@ You have deleted template "@template_name@".

-Return to template list page + Index: openacs-4/contrib/packages/simulation/www/simbuild/template-spec.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/template-spec.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/www/simbuild/template-spec.tcl 13 Jan 2004 12:37:33 -0000 1.3 +++ openacs-4/contrib/packages/simulation/www/simbuild/template-spec.tcl 26 Jan 2004 16:07:22 -0000 1.4 @@ -8,6 +8,9 @@ {deep_p:boolean "f"} } +set page_title "Template Specifiaction" +set context [list [list "." "SimBuild"] [list [export_vars -base template-edit { workflow_id }] "Template"] $page_title] + set spec [simulation::template::generate_spec -workflow_id $workflow_id -deep=[template::util::is_true $deep_p]] -ns_return 200 text/plain [util::array_list_spec_pretty $spec] +set spec [util::array_list_spec_pretty $spec] Index: openacs-4/packages/simulation/tcl/template-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/tcl/template-procs.tcl,v diff -u -r1.63 -r1.64 --- openacs-4/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 15:31:43 -0000 1.63 +++ openacs-4/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 16:07:22 -0000 1.64 @@ -1064,6 +1064,7 @@ upvar 1 $array row set array row } + return [workflow::new_from_spec \ -package_key $package_key \ -object_id $object_id \ Index: openacs-4/packages/simulation/www/simbuild/template-delete.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-delete.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/simbuild/template-delete.adp 8 Jan 2004 11:03:02 -0000 1.3 +++ openacs-4/packages/simulation/www/simbuild/template-delete.adp 26 Jan 2004 16:07:22 -0000 1.4 @@ -6,4 +6,6 @@ You have deleted template "@template_name@".

-Return to template list page + Index: openacs-4/packages/simulation/www/simbuild/template-spec.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-spec.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/simbuild/template-spec.tcl 13 Jan 2004 12:37:33 -0000 1.3 +++ openacs-4/packages/simulation/www/simbuild/template-spec.tcl 26 Jan 2004 16:07:22 -0000 1.4 @@ -8,6 +8,9 @@ {deep_p:boolean "f"} } +set page_title "Template Specifiaction" +set context [list [list "." "SimBuild"] [list [export_vars -base template-edit { workflow_id }] "Template"] $page_title] + set spec [simulation::template::generate_spec -workflow_id $workflow_id -deep=[template::util::is_true $deep_p]] -ns_return 200 text/plain [util::array_list_spec_pretty $spec] +set spec [util::array_list_spec_pretty $spec]