summaryrefslogtreecommitdiffstats
path: root/app/debug-html.lsp
blob: 32f82d2f58423070058decd99ba6fcdaf29043b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% local data, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>

<%
local header_level = htmlviewfunctions.displayheader(cfe({label="Debugging"}), page_info)
header_level = htmlviewfunctions.incrementheader(header_level)

htmlviewfunctions.displayheader(cfe({label="View Data:"}), page_info, header_level)
io.write(htmlviewfunctions.cfe_unpack(data))

htmlviewfunctions.displayheader(cfe({label="Session:"}), page_info, header_level)
io.write(htmlviewfunctions.cfe_unpack(session))

htmlviewfunctions.displayheader(cfe({label="Page Info:"}), page_info, header_level)
io.write(htmlviewfunctions.cfe_unpack(page_info))
%>