Index: openacs-4/packages/acs-templating/www/doc/guide/form-widgets.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/guide/form-widgets.adp,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/acs-templating/www/doc/guide/form-widgets.adp 7 Nov 2016 19:23:16 -0000 1.2.2.3 +++ openacs-4/packages/acs-templating/www/doc/guide/form-widgets.adp 22 Apr 2017 18:33:51 -0000 1.2.2.4 @@ -6,14 +6,14 @@ Templating System : Developer Guide : User Guide -

Form widgets are implemented as tcl procs that output the html -to generate the form element. The tcl proc must be in the +

Form widgets are implemented as Tcl procs that output the html +to generate the form element. The Tcl proc must be in the template::widget namespace. So the proc for the search widget is called template::widget::search. The code that generates the built in widgets is in packages/acs-templating/tcl/widget-procs.tcl.

If the data from the form widget needs to be formatted or -processed a tcl proc is created in the template::data::transform +processed a Tcl proc is created in the template::data::transform namespace. For example, templatete::data::transform::search. This takes the input from the user and processes it to be returned to -the tcl code handling the form.

+the Tcl code handling the form.