#
# This is a Template-File for WWWdb
#
#
#

# --- Description of the data to access -----------------------------------------
[Data]
Table    = pg_proc
Order    = proname

UpdFields = ""
QryFields = ""
ExtraFields = "procedure, proargs"

; IdField = proname, proargtypes
IdField = oid

[Cache]
Timeout         = 0

# --- Configuring the browser here ----------------------------------------------
[Browser]
MaxRows = 25

[Qry]
BgColor2    = #fafafa
NrOfColLine = 2
SelType     = Link


# --- General header for WWWdb --------------------------------------------------
[Header]
Title = "Test PostgreSQL - Procedures"

# --- User-specific gui definitions ---------------------------------------------
[GUI]

# --- Definition of the different states ----------------------------------------

# Buttons for all states
# please note that "-" deactivates a Button
[State All]
BtnCancel  =
BtnHelp    =
BtnExit    =

# This is the state when the form is called the first time, or the Back-button
# is pressed
[State Init]
Header = "Select a function and enter params for testing"
BtnNew     = -
BtnQry = -
BtnDoTest = "Run Test"

# In this state you have selected a record, which you can update or delete
[State Work]
; Header = <Text for work-state>
BtnUpd     = -
BtnDel     = -

# This is the record-Browser
[State Qry]
; Header = <Text for query-state>

# --- Layout for the area, the data is shown ------------------------------------
[Layout Table]
; LinkWidth = <Width of link-box in pixels>
; Border      = <Border-Width>
; BgColor     = <Background-color of table>

# --- Here are the examples for the single fields -------------------------------

[Layout Qry _link]
Text = ""
Type = Ref
Value = ">>"
Align = Right

[Layout Label procedure]
Pos = +2.0.0
Text = "Select a Function: "
Align = Right
Bold = Yes

[Layout Field procedure]
Pos = +0.+1.+0
Type        = Select
Values      = <<EOF
EOF

[Layout Label proargs]
Pos = +2.0.0
Text = "Arguments: "
Align = Right
Bold = Yes

[Layout Field proargs]
Pos = +0.+1.0
Size = 70
Type = Area
Cols = 10
