Index: openacs-4/packages/acs-templating/acs-templating.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/acs-templating.info,v
diff -u -r1.11.2.1 -r1.11.2.2
--- openacs-4/packages/acs-templating/acs-templating.info 5 Mar 2003 14:57:10 -0000 1.11.2.1
+++ openacs-4/packages/acs-templating/acs-templating.info 7 Mar 2003 13:47:45 -0000 1.11.2.2
@@ -7,340 +7,30 @@
t
t
-
+
- oracle
- postgresql
- Christian Brechb
Karl Goldstein
+ Christian Brechb
Separate page layout and implementation.
- 2002-05-15
+ 2003-03-07
ArsDigita Corporation
- The template system provides mechanisms that allow developers and graphic designers to work independently. Templates specify the layout of the page seperately from the contents of the page. Graphic designers work primarily on the layout part of the template (the template), while programmers work primarily a script that generates the the content part of the template (the code). In addition, the
-template system provides a way to use a single layout
+ The template system provides mechanisms that allow developers and graphic designers to work independently. Templates specify the layout of the page seperately from the contents of the page. Graphic designers work primarily on the layout part of the template (the template), while programmers work primarily a script that generates the the content part of the template (the code). In addition, the
+template system provides a way to use a single layout
specification for many physical pages, so the overall layout of a site can be more easily administered.
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
Index: openacs-4/packages/acs-templating/tcl/form-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/form-procs.tcl,v
diff -u -r1.7.2.3 -r1.7.2.4
--- openacs-4/packages/acs-templating/tcl/form-procs.tcl 7 Mar 2003 12:30:08 -0000 1.7.2.3
+++ openacs-4/packages/acs-templating/tcl/form-procs.tcl 7 Mar 2003 13:48:06 -0000 1.7.2.4
@@ -297,7 +297,12 @@
set "buttons:${buttons:rowcount}(name)" "formbutton:$name"
}
- if { [string equal $style {}] } { set style standard }
+ if { [string equal $style {}] } {
+ set style [parameter::get \
+ -package_id [apm_package_id_from_key "acs-templating"] \
+ -parameter DefaultFormStyle \
+ -default "standard"]
+ }
set file_stub [template::get_resource_path]/forms/$style
# set the asset url for images
Index: openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html,v
diff -u -r1.1.1.1 -r1.1.1.1.4.1
--- openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html 13 Mar 2001 22:59:27 -0000 1.1.1.1
+++ openacs-4/packages/acs-templating/www/doc/tagref/formtemplate.html 7 Mar 2003 13:48:20 -0000 1.1.1.1.4.1
@@ -49,8 +49,10 @@
The style attribute is optional. It may be used to select
a style template from /ats/templates/forms for determining
-the layout of the auto-generated form. The default style is
-standard, which is included in the distribution.
+the layout of the auto-generated form. The default style is defined
+in the DefaultFormStyle parameter on the acs-templating package,
+and is by default set to standard, which is included in the
+distribution.
HTML attributes, including JavaScript event handlers, may be
specified as attributes to the formtemplate tag. The system