Index: openacs-4/packages/acs-templating/www/doc/tagref/include.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/include.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-templating/www/doc/tagref/include.html 13 Mar 2001 22:59:27 -0000 1.1 +++ openacs-4/packages/acs-templating/www/doc/tagref/include.html 30 Nov 2002 17:25:12 -0000 1.2 @@ -17,6 +17,7 @@ as any other dynamic template; the developer may associate data sources and other properties to them.
+<include src="subtemplate.adp" attribute=value ...>@@ -44,7 +45,28 @@ included page has the same name (
&users="users"
), you
can use the shorthand &="users"
.
+
+ + So if you'd like to have a template that will return a fragment of a + page that you'd like to include in other pages, make sure its .tcl + component does not call ad_page_contract. +
+ ++ If you'd like to include a full page (that is, one which calls + ad_page_contract) then instead of passing a parameter through + <include>, you could use + rp_form_put + to add the variable to that page's form. For additional + references, see how message-chunk is used throughout the forums package. +
+