[UP]
Index
 index_attributes
 index_class_types
 index_classes
 index_exceptions
 index_methods
 index_module_types
 index_modules
 index_types
 index_values
   
WDialog API for Objective Caml: index_values

Index of values


A
add [Wd_var_functions]
Adds the numbers encoded as String_value, and returns the sum as String_value.
add [Wd_interactor]
add ia name index opt_id value: adds the triple (name,index,value) to ia; if opt_id is None, the triple gets an automatically selected numerical ID; if opt_id is Some id, the triple has the ID id.
add [Wd_dictionary]
adjust_gc [Wd_run_cgi]
Adjust the garbage collector for short-living processes.
apply [Wd_template]
apply dlg t params: instantiates the template t with parameters params and returns the result.
apply_byname [Wd_template]
apply_byname dlg n params = apply (get n) params: instantiates the template with name n with parameters params and returns the result.
apply_lazily [Wd_template]
apply_lazily dlg n params: creates a tree node which applies the template n by instantiating the parameters params.
assoc [Wd_var_functions]
Looks the second argument up in the first argument, which must be an Alist_value.

C
clear [Wd_interactor]
clear ia: Removes all entries from the interactor.
compile [Wd_transform]
Compiles the file and writes it to the out_channel.
concat [Wd_var_functions]
Concatenates all the String_value arguments, and returns the result as String_value.
concat [Wd_template]
concat app sep l: if l = [n1;n2;...;nN], the concatenation n1 .
create [Wd_interactor]
create x: Creates a new interactor manager.
create_request_handler [Wd_run_jserv]
This function creates a request handler for a JSERV-based application server.

D
dialog [Wd_var_functions]
Returns the name of the current dialog (no arguments)
div [Wd_var_functions]
Divides the first number through the following numbers.
dtd_1 [Wd_application_dtd]
The WDialog DTD version 1 as string
dtd_2 [Wd_application_dtd]
The WDialog DTD version 2 as string
dump_interactors [Wd_dialog]
Prints a readable description of the contents of the interactors argument to the passed formatter.

E
empty [Wd_template]
A tree node which expands to the empty string.
empty [Wd_dictionary]
encode_as_html [Wd_encoding]
Encodes strings as HTML: '<' becomes &lt;, '>' becomes &gt;, '"' becomes &quot;, '&' becomes &amp; All other characters remain unchanged.
encode_as_js_longstring [Wd_encoding]
Similar to encode_as_js_string, but an additional rules prevents that long lines result.
encode_as_js_string [Wd_encoding]
Encodes strings such that they can be placed between quotes in Javascript.
encode_as_para [Wd_encoding]
Multiple linefeeds are replaced by <p>.
encode_as_pre [Wd_encoding]
Does the following encoding: ' ' becomes &nbsp;, '\n' becomes <br>, '\t' is expanded to a sequence of &nbsp;, tab width is 8 All other characters remain unchanged.
exists [Wd_interactor]
exists ia name index: returns whether the pair (name,index) exists in ia.

F
find [Wd_dictionary]
fold [Wd_dictionary]

G
get [Wd_upload]
Returns the CGI argument containing the file upload information for the file upload box with the passed name.
get [Wd_template]
get app n: looks up the template with name n, or raise Template_not_found.
get_parameters [Wd_templrep]
Returns the parameters that have been found in the template as dictionary

H
height [Wd_var_functions]
Returns the height of the String_value argument.
html [Wd_template]
html app s: Forms a tree node which expands exactly to s.

I
init [Wd_upload]
Scans the available CGI parameters for file uploads, and initializes this module.
instantiate [Wd_templrep]
instantiate ~eval_expr pt params container:
iter [Wd_interactor]
iter f ia: iterates over the elements of ia and invoke the function f for every element by f id name index value.
iter [Wd_dictionary]

L
language [Wd_var_functions]
Returns the current language, or "" if none selected (no arguments)
load_uiapplication [Wd_transform]
Loads the ui definition contained in the binary file, and returns the contents as application declaration.
lookup [Wd_interactor]
lookup ia id: looks up the triple (name,index,value) for the ID id within ia.

M
make_environment [Wd_cycle]
Creates an (otherwise empty) environment with the passed CGI activation object.
map [Wd_dictionary]
mapi [Wd_dictionary]
mem [Wd_dictionary]
mul [Wd_var_functions]
Multiplies the numbers encoded as String_value, and returns the product as String_value.

N
nth [Wd_var_functions]
Returns the nth element of the first argument which must be an Alist_value.

O
of_alist [Wd_dictionary]
Convert the passed associative list to the corresponding dictionary

P
page [Wd_var_functions]
Returns the name of the current page (no arguments)
parse_uiapplication [Wd_transform]
Parses the file whose name is passed to the function, and returns the contents of the ui file as application declaration.
prepare_tree_with_parameters [Wd_templrep]
let pt = prepare_tree_with_parameters ~mk_uiencode name app nodes:
process_request [Wd_cycle]
This is the main function processing requests coming from the browser.

R
remove [Wd_dictionary]
rev_translate [Wd_var_functions]
Maps external values to internal values:
revision_ocaml [Wd_ocamlversion]
run [Wd_run_cgi]
A customizable "main program" which processes CGI requests and generates responses.

S
size [Wd_var_functions]
Returns the size of the single argument, which may be a String_value, Enum_value, Dyn_enum_value, or an Alist_value.
stdlib_iso88591_1 [Wd_stdlib]
The contents of stdlib.xml as Pxp_marshal'ed string (ISO-8859-1)
stdlib_utf8_1 [Wd_stdlib]
The contents of stdlib.xml as Pxp_marshal'ed string (UTF8)
sub [Wd_var_functions]
Subtracts the following numbers from the first number.
substring [Wd_var_functions]
Returns a substring of the first argument, a String_value.

T
text [Wd_template]
text app s: Forms a tree node which expands to the text s.
to_alist [Wd_dictionary]
Convert the dictionary to an associative list
to_string [Wd_template]
to_string dlg t: converts the tree representation t to its string representation.
translate [Wd_var_functions]
Like ui:translate maps internal values of enumerators to external values.

V
var [Wd_var_functions]
Returns the contents of the variable whose name is passed as first argument, a String_value.

W
width [Wd_var_functions]
Returns the width of the String_value argument.