root/trunk/examples/templates/example_attributes_varscope_multiple.tmpl

Revision 338, 379 bytes (checked in by schst, 4 years ago)

the varscope attribute now supports a list of templates (requested by denne)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <!-- $Id$ -->
2 <patTemplate:tmpl name="page">
3
4         <patTemplate:tmpl name="storage1">
5         This is in storage1: {FOO}<br />
6         </patTemplate:tmpl>
7         <patTemplate:tmpl name="storage2">
8         This is in storage2: {BAR}<br />
9         </patTemplate:tmpl>
10         <patTemplate:tmpl name="main" varscope="storage1, storage2">
11         This is in main: FOO: {FOO}, BAR: {BAR}<br />
12         </patTemplate:tmpl>
13        
14 </patTemplate:tmpl>
Note: See TracBrowser for help on using the browser.