diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 20:36:29 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 20:36:29 +0000 |
commit | 74293bb0e7c9ba256f0d57d6525da6ea20d275b2 (patch) | |
tree | ccaa45991bd4e5d058fabfcf3da2d1d267d54286 | |
parent | d75a99f050cf97f0c173cef745d626c7e32dcef4 (diff) | |
download | acf-opennhrp-74293bb0e7c9ba256f0d57d6525da6ea20d275b2.tar.bz2 acf-opennhrp-74293bb0e7c9ba256f0d57d6525da6ea20d275b2.tar.xz |
Modified viewfunctions displaycommandresults to not delete the error results of a form so the form can still display it. Modified a bunch of views to display the results of component forms. Also added code to displayform and displayformstart to automatically generate the action if passed page_info.
git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | opennhrp-config-html.lsp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opennhrp-config-html.lsp b/opennhrp-config-html.lsp index d6bc903..75c98ce 100644 --- a/opennhrp-config-html.lsp +++ b/opennhrp-config-html.lsp @@ -1,4 +1,4 @@ -<% local form, viewlibrary, page_info = ... +<% local form, viewlibrary, page_info, session = ... require("viewfunctions") %> <% @@ -9,6 +9,8 @@ io.write("</span>") --]] %> +<% displaycommandresults({"startstop"}, session) %> + <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> |