![]() [UP] Modules  | 
 WDialog API for Objective Caml: Wd_dialog 
 Module Wd_dialogmodule Wd_dialog:This module defines the base class dialog from which all dialog
classes should inheritval dump_interactors : 
Prints a readable description of the contents of the  
interactors
argument to the passed formatter. This function is a valid printer
for the toplevel and the debugger.class virtual dialog : 
The class  
dialog is the implementation of Wd_types.dialog_type that
should be used as base definition for all dialog objects.
Construction new dialog universe name env: Makes a new dialog called name which
is bound to the universe
Normally, the class  
 
After defining such a class, you can create a new  
 
For example, you can place this statement where you call
 
 
After the dialog has been registered, you can create new instances
of the dialog by calling  
 class instant_session_manager : 
The "instant" session manager serializes the state of the dialog,
and includes it literally into the HTML form.
 
exception Invalid_session_checksum 
Raised when the session checksum as stored in the database is not the
same that is transmitted by the browser. This normally means that a
historic page was submitted ("Back" button). 
exception Session_not_found 
Raises when the current session was not found in the database. 
class database_session_manager : 
The database session manager allows it to store the contents of
sessions in databases.
 
 |