diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-23 09:05:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:58 -0500 |
commit | c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c (patch) | |
tree | 05e96930f8eb7636d8edd5cfd10ce5ec5fd25749 /swat/esptest/exception.esp | |
parent | c6c1b2998c68b40496fe605097900071704d6474 (diff) | |
download | samba-c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c.tar.gz |
r8720: split form object out to separate include file, and make it a real
object, with a display() method
Diffstat (limited to 'swat/esptest/exception.esp')
-rw-r--r-- | swat/esptest/exception.esp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/swat/esptest/exception.esp b/swat/esptest/exception.esp index dcc0fda0930..f32aaeb610e 100644 --- a/swat/esptest/exception.esp +++ b/swat/esptest/exception.esp @@ -1,4 +1,6 @@ -<% page_header("columns", "ESP Exception test", "/esptest/menu.js"); %> +<% page_header("columns", "ESP Exception test", "/esptest/menu.js"); + include("/scripting/forms.js"); +%> <h1>Samba4 exception test</h1> @@ -8,7 +10,7 @@ var f = FormObj("ExceptionTest", 0, 2); f.submit[0] = "Generate Exception"; f.submit[1] = "No Exception"; -display_form(f); +f.display(); if (request['REQUEST_METHOD'] == "POST") { function TestFunction(arg1, arg2) { |