summaryrefslogtreecommitdiff
path: root/swat/esptest/include.esp
blob: 96afead1f95318a2b43bb2229b0d1bd5c3efc808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% page_header("columns", "ESP Include Test"); %>

including /scripting/test.ejs<p/>
<% include("/scripting/test.ejs"); %>
calling a function from test.ejs ...<p/>
<% showArray("request", request); %>

including /scripting/test.esp<p/>
<% include /scripting/test.esp %>
calling a function from test.esp ...<p/>
<% res = testfn('foo'); %>
result is: @@res

<% page_footer(); %>