diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-10-10 18:25:19 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-10-10 18:25:19 +0000 |
commit | b802504e41cccda64b8f903973d01897bbec7451 (patch) | |
tree | c5ced769d4b328fc3bd5d0077039f23881f8c119 /provisioning-getclassvalues-html.lsp | |
parent | 6e029cd625261b77c94cdf3c38139a7d0fc381c4 (diff) | |
download | acf-provisioning-b802504e41cccda64b8f903973d01897bbec7451.tar.bz2 acf-provisioning-b802504e41cccda64b8f903973d01897bbec7451.tar.xz |
Change viewclassparams to getclassvalues
Diffstat (limited to 'provisioning-getclassvalues-html.lsp')
-rw-r--r-- | provisioning-getclassvalues-html.lsp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/provisioning-getclassvalues-html.lsp b/provisioning-getclassvalues-html.lsp new file mode 100644 index 0000000..4f07db1 --- /dev/null +++ b/provisioning-getclassvalues-html.lsp @@ -0,0 +1,27 @@ +<% local form, viewlibrary, page_info = ... +require("viewfunctions") +%> + +<% if form.value.values then %> +<H1>Class</H1> + <DL> +<% if form.errtxt then io.write("<P CLASS='error'>" .. string.gsub(html.html_escape(form.errtxt), "\n", "<BR>") .. "</P>\n") end %> + <% displayitem(form.value.class_id) %> + <% displayitem(form.value.label) %> +<H2>Parameter Values</H2> +<% + require("session") + val = session.serialize("values", form.value.values.value) + val = string.gsub(val, "[^\n]*%{%}\n", "") + print("<pre>"..val.."</pre>") + form.value.values = nil +%> + </DL> +<% end %> + +<H1><%= html.html_escape(form.label) %></H1> +<% + form.value.values = nil + form.value.label = nil + displayform(form, nil, nil, page_info, 2) +%> |