From 0e5894d5096ac73341b99cc5c9937c9db83ba390 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 22 Oct 2008 18:50:22 +0000 Subject: Modified viewfunctions to split displayform, creating displayformstart and displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user. git-svn-id: svn://svn.alpinelinux.org/acf/devtools/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed --- acfupdate-html.lsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acfupdate-html.lsp b/acfupdate-html.lsp index 6bd096a..df7556d 100644 --- a/acfupdate-html.lsp +++ b/acfupdate-html.lsp @@ -2,13 +2,15 @@ require("viewfunctions") %> +<% displaycommandresults({"install"}, session) %> +

System Info

<% displayitem(data.value.version) if data.value.version and data.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then %> - Install + Install <% end displayitem(data.value.repository) -- cgit v1.2.3