Main Page
Namespaces
Classes
Files
File List
src
webui
mod
webui
cgibin
tables.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
3
"""
4
usage: %(progname)s [args]
5
"""
6
7
import
nstart
8
9
import
os, sys, string, time, getopt, re
10
from
pyclearsilver.log
import
*
11
12
import
neo_cgi, neo_util, neo_cs
13
14
from
pyclearsilver
import
CSPage
15
from
pyclearsilver
import
odb
16
17
import
MBPage
18
import
db_webui
19
20
from
pyclearsilver
import
scaffold
21
22
class
MyPage
(scaffold.DBScaffold):
23
def
setup
(self, hdf):
24
self.
db
= db_webui.initSchema()
25
scaffold.DBScaffold.setupDetails(self, self.
db
)
26
scaffold.DBScaffold.setup(self, hdf)
27
28
def
run
(context):
29
return
MyPage
(context, pagename=
"default"
)
30
31
def
main
():
32
context = CSPage.Context()
33
run
(context).
start
()
34
35
if
__name__ ==
"__main__"
:
36
main
()
webui.mod.webui.cgibin.tables.run
def run(context)
Definition:
tables.py:28
webui.startcgi.start
start
Definition:
startcgi.py:4
pyclearsilver::log
webui.mod.webui.cgibin.tables.main
def main()
Definition:
tables.py:31
webui.mod.webui.cgibin.tables.MyPage.setup
def setup(self, hdf)
Definition:
tables.py:23
webui.mod.webui.cgibin.tables.MyPage
Definition:
tables.py:22
webui.mod.webui.cgibin.tables.MyPage.db
db
Definition:
tables.py:24
webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24