From 580b5bb8ef24f950581545425b4fee23a6e1c6ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 31 May 2005 02:57:21 +0000 Subject: r7132: - start a convention of making object constructors end in Obj, so we now have FormObj(). This follows the style in the ejs manual - make a new MenuObj object type, with a display_menu() to display it. This will make it easier to make different types of menus. Currently only veritical simple menus are supported. (This used to be commit ac978d4124f773d872dd15205d90a41dcec8a38f) --- swat/esptest/formtest.esp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swat/esptest/formtest.esp') diff --git a/swat/esptest/formtest.esp b/swat/esptest/formtest.esp index 9f5626624e..2d7c33e518 100644 --- a/swat/esptest/formtest.esp +++ b/swat/esptest/formtest.esp @@ -1,7 +1,7 @@ <% page_header("columns", "ESP Form Test"); %> <% -var f = Form("FormTest", 3, 2); +var f = FormObj("FormTest", 3, 2); f.element[0].label = "First Name"; f.element[0].name = "firstName"; f.element[0].value = form['firstName']; -- cgit