svn commit: samba r6988 - in branches/SAMBA_4_0/swat/esptest: .

tridge at samba.org tridge at samba.org
Thu May 26 03:07:38 GMT 2005


Author: tridge
Date: 2005-05-26 03:07:38 +0000 (Thu, 26 May 2005)
New Revision: 6988

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6988

Log:
added a test of esp include() calls

Added:
   branches/SAMBA_4_0/swat/esptest/include.html
Modified:
   branches/SAMBA_4_0/swat/esptest/index.html


Changeset:
Added: branches/SAMBA_4_0/swat/esptest/include.html
===================================================================
--- branches/SAMBA_4_0/swat/esptest/include.html	2005-05-26 03:05:37 UTC (rev 6987)
+++ branches/SAMBA_4_0/swat/esptest/include.html	2005-05-26 03:07:38 UTC (rev 6988)
@@ -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>

Modified: branches/SAMBA_4_0/swat/esptest/index.html
===================================================================
--- branches/SAMBA_4_0/swat/esptest/index.html	2005-05-26 03:05:37 UTC (rev 6987)
+++ branches/SAMBA_4_0/swat/esptest/index.html	2005-05-26 03:07:38 UTC (rev 6988)
@@ -1,5 +1,5 @@
 <%
-  var tests = new Array("formtest", "showvars");
+  var tests = new Array("formtest", "showvars", "include");
 %>
 
 <HTML>



More information about the samba-cvs mailing list