Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml,v diff -u -r1.10 -r1.11 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 9 Feb 2004 13:35:04 -0000 1.10 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 9 Feb 2004 13:44:05 -0000 1.11 @@ -720,20 +720,19 @@ ad_script_abort } -Note how we have replaced what was a single -ad_form invocation with two. The --extend flag is used to build a form -incrementally. We had to do it so that we can insert the call to -category::ad_form::add_widgets. This -procedure will add as many category widgets as there are trees associated with -our package_id. The complementary proc -category::ad_form::get_categories will take -care of collecting the values after the form has been submitted. The block --on_submit will get executed at this time, -followed by execution of either -new_data or --edit_data, depending on whether we are adding -a new note or editing an existing one. - + Note how we have replaced what was a single + ad_form invocation with two. The + -extend flag is used to build a form + incrementally. We had to do it so that we can insert the call to + category::ad_form::add_widgets. This + procedure will add as many category widgets as there are trees associated with + our package_id. The complementary proc + category::ad_form::get_categories will take + care of collecting the values after the form has been submitted. The block + -on_submit will get executed at this time, + followed by execution of either -new_data or + -edit_data, depending on whether we are adding + a new note or editing an existing one.