r6988: added a test of esp include() calls
authorAndrew Tridgell <tridge@samba.org>
Thu, 26 May 2005 03:07:38 +0000 (03:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:02 +0000 (13:17 -0500)
(This used to be commit a1eb98722d935b838b2ffaf5d329456d655c7b78)

swat/esptest/include.html [new file with mode: 0644]
swat/esptest/index.html

diff --git a/swat/esptest/include.html b/swat/esptest/include.html
new file mode 100644 (file)
index 0000000..b488631
--- /dev/null
@@ -0,0 +1,16 @@
+<HTML>
+<TITLE>
+Samba4 ESP test
+</TITLE>
+<BODY>
+including /scripting/test.ejs<p>
+<% include("/scripting/test.ejs"); %>
+calling a function from test.ejs ...<p>
+<% showArray("request", request); %>
+
+<form name="Cancel" method="POST" action="index.html"> 
+    <input name="submit" type="submit" value="Cancel"><br>
+</form>
+
+</BODY>
+</HTML>
index 957e7d94fa7c9fcfb5853e69eb5ff8cbc5513715..0c64b4ffcfbc5b5d84baa0e3828f6df33e423f1c 100644 (file)
@@ -1,5 +1,5 @@
 <%
-  var tests = new Array("formtest", "showvars");
+  var tests = new Array("formtest", "showvars", "include");
 %>
 
 <HTML>