summaryrefslogtreecommitdiffstats
path: root/provisioning-getclassvalues-html.lsp
blob: e473b8bbf26d305b16134ae7f809fc8315c34d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<% local form, viewlibrary, page_info = ... 
require("htmlviewfunctions")
%>

<% 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 %>
	<% htmlviewfunctions.displayitem(form.value.class_id) %>
	<% htmlviewfunctions.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
	htmlviewfunctions.displayform(form, nil, nil, page_info, 2)
%>