Index: openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl 28 May 2002 12:27:39 -0000 1.3 +++ openacs-4/packages/acs-tcl/tcl/form-processing-procs.tcl 28 May 2002 12:30:07 -0000 1.4 @@ -30,9 +30,13 @@ return -code error "No arguments to ad_form" } - set valid_args { form method action html name select_query select_query_name add_data \ - edit_data from_sql to_sql validate on_submit confirm_template extend}; + # I've removed "extend" because making it work correctly requires considerable rewriting, + # including maintaining of per-form global state. The global state should be folded in + # with the state already maintained by the form builder proper. + set valid_args { form method action html name select_query select_query_name new_data \ + edit_data from_sql to_sql validate on_submit confirm_template}; + ad_arg_parser $valid_args $args set extending_p 0