Index: openacs-4/contrib/packages/simulation/www/doc/sample-simulation.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/doc/Attic/sample-simulation.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/packages/simulation/www/doc/sample-simulation.txt 15 Dec 2003 10:54:31 -0000 1.1 @@ -0,0 +1,112 @@ +tilburg { + object_type acs_object + package_key simulation + pretty_name Tilburg + roles { + lawyer { + pretty_name Lawyer + } + client { + pretty_name Client + } + other_lawyer { + pretty_name { + Other lawyer + } + } + other_client { + pretty_name { + Other client + } + } + mentor { + pretty_name Mentor + } + secretary { + pretty_name Secretary + } + } + states { + started { + pretty_name Started + } + open { + pretty_name Open + } + written { + pretty_name Written + } + done { + pretty_name Done + } + } + actions { + initialize { + initial_action_p t + pretty_name Initialize + } + ask_client_for_information { + assigned_role lawyer + assigned_states started + new_state open + pretty_name { + Ask client + for information + } + } + ask_client_for_more_information { + assigned_role lawyer + enabled_states open + pretty_name {Ask Client for more information} + } + consult_lawyer_of_the_other_party { + assigned_role lawyer + enabled_states open + pretty_name { + Consult lawyer + of the + other party + } + } + visit_the_library { + assigned_role lawyer + enabled_states open + pretty_name {Visit the library} + } + consult_mentor { + assigned_role lawyer + enabled_states open + pretty_name { + Consult mentor + } + } + mentor_intervenes { + assigned_role mentor + enabled_states open + pretty_name { + Mentor intervenes + } + } + consult_secretary { + assigned_role lawyer + enabled_states open + pretty_name { + Consult secretary + } + } + write_legal_advice { + assigned_role lawyer + enabled_states open + new_state written + pretty_name {Write legal advice} + } + correct_spell_check_etc { + assigned_role secretary + enabled_states written + new_state done + pretty_name {Correct, spell-check, etc.} + } + } +} + + Index: openacs-4/contrib/packages/simulation/www/siminst/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/index.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/contrib/packages/simulation/www/siminst/index.tcl 15 Dec 2003 10:33:57 -0000 1.13 +++ openacs-4/contrib/packages/simulation/www/siminst/index.tcl 15 Dec 2003 10:54:31 -0000 1.14 @@ -114,8 +114,7 @@ set cast_url "" } set map_roles_url [export_vars -base "${base_url}siminst/map-characters" { workflow_id }] - set map_props_url [export_vars -base "${base_url}siminst/map-tasks" { workflow_id }] - set sim_tasks_url [export_vars -base "${base_url}siminst/sim-tasks" { workflow_id }] + set sim_tasks_url [export_vars -base "${base_url}siminst/map-tasks" { workflow_id }] set delete_url [export_vars -base "${base_url}siminst/simulation-delete" { workflow_id }] } Index: openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/map-characters.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl 15 Dec 2003 10:33:07 -0000 1.5 +++ openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl 15 Dec 2003 10:54:31 -0000 1.6 @@ -52,6 +52,6 @@ } # Proceed to the task page - ad_returnredirect [export_vars -base sim-tasks {workflow_id}] + ad_returnredirect [export_vars -base map-tasks {workflow_id}] ad_script_abort } Index: openacs-4/packages/simulation/www/doc/sample-simulation.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/doc/sample-simulation.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/simulation/www/doc/sample-simulation.txt 15 Dec 2003 10:54:31 -0000 1.1 @@ -0,0 +1,112 @@ +tilburg { + object_type acs_object + package_key simulation + pretty_name Tilburg + roles { + lawyer { + pretty_name Lawyer + } + client { + pretty_name Client + } + other_lawyer { + pretty_name { + Other lawyer + } + } + other_client { + pretty_name { + Other client + } + } + mentor { + pretty_name Mentor + } + secretary { + pretty_name Secretary + } + } + states { + started { + pretty_name Started + } + open { + pretty_name Open + } + written { + pretty_name Written + } + done { + pretty_name Done + } + } + actions { + initialize { + initial_action_p t + pretty_name Initialize + } + ask_client_for_information { + assigned_role lawyer + assigned_states started + new_state open + pretty_name { + Ask client + for information + } + } + ask_client_for_more_information { + assigned_role lawyer + enabled_states open + pretty_name {Ask Client for more information} + } + consult_lawyer_of_the_other_party { + assigned_role lawyer + enabled_states open + pretty_name { + Consult lawyer + of the + other party + } + } + visit_the_library { + assigned_role lawyer + enabled_states open + pretty_name {Visit the library} + } + consult_mentor { + assigned_role lawyer + enabled_states open + pretty_name { + Consult mentor + } + } + mentor_intervenes { + assigned_role mentor + enabled_states open + pretty_name { + Mentor intervenes + } + } + consult_secretary { + assigned_role lawyer + enabled_states open + pretty_name { + Consult secretary + } + } + write_legal_advice { + assigned_role lawyer + enabled_states open + new_state written + pretty_name {Write legal advice} + } + correct_spell_check_etc { + assigned_role secretary + enabled_states written + new_state done + pretty_name {Correct, spell-check, etc.} + } + } +} + + Index: openacs-4/packages/simulation/www/siminst/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/index.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/simulation/www/siminst/index.tcl 15 Dec 2003 10:33:57 -0000 1.13 +++ openacs-4/packages/simulation/www/siminst/index.tcl 15 Dec 2003 10:54:31 -0000 1.14 @@ -114,8 +114,7 @@ set cast_url "" } set map_roles_url [export_vars -base "${base_url}siminst/map-characters" { workflow_id }] - set map_props_url [export_vars -base "${base_url}siminst/map-tasks" { workflow_id }] - set sim_tasks_url [export_vars -base "${base_url}siminst/sim-tasks" { workflow_id }] + set sim_tasks_url [export_vars -base "${base_url}siminst/map-tasks" { workflow_id }] set delete_url [export_vars -base "${base_url}siminst/simulation-delete" { workflow_id }] } Index: openacs-4/packages/simulation/www/siminst/map-characters.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/map-characters.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/simulation/www/siminst/map-characters.tcl 15 Dec 2003 10:33:07 -0000 1.5 +++ openacs-4/packages/simulation/www/siminst/map-characters.tcl 15 Dec 2003 10:54:31 -0000 1.6 @@ -52,6 +52,6 @@ } # Proceed to the task page - ad_returnredirect [export_vars -base sim-tasks {workflow_id}] + ad_returnredirect [export_vars -base map-tasks {workflow_id}] ad_script_abort }