Index: openacs-4/packages/acs-templating/tcl/element-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/element-procs.tcl,v diff -u -r1.9 -r1.9.2.1 --- openacs-4/packages/acs-templating/tcl/element-procs.tcl 24 Sep 2002 09:06:04 -0000 1.9 +++ openacs-4/packages/acs-templating/tcl/element-procs.tcl 21 Feb 2003 12:25:22 -0000 1.9.2.1 @@ -10,11 +10,12 @@ # License. Full text of the license is available from the GNU Project: # http://www.fsf.org/copyleft/gpl.html ad_proc -public element { command form_id element_id args } { - form is really template::element although when in - the "template" namespace you may omit the - template:: + element is really template::element although when in the + "template" namespace you may omit the template:: qualifier. + See the template::form api for creating the form element container. @see template::element + @see template::form } - ad_proc -public template::element { command form_id element_id args } { @@ -96,7 +97,12 @@ @option optional A flag indicating that no value is required for this element. If a default value is specified, the default is used instead. + + @see template::widget + @see template::data::validate + @see template::form::create } { + set level [template::adp_level] # add the element to the element list