htmlSettings.dcl 1.33 KB
Newer Older
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
1
2
3
4
5
6
definition module htmlSettings

import htmlHandler

// Global settings of iData applications

Peter Achten's avatar
Peter Achten committed
7
8
9
class iData a							// The collection of generic functions needed to make iData:	
		| gForm {|*|}					//		Creates an Html Form
		, gUpd  {|*|}					//		Makes it possible to edit the form and updates the corresponding value
10
11
12
		, iDataSerAndDeSerialize a
		
class iDataSerialize a
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
13
14
15
16
		| gPrint{|*|}			//		To serialize a value to a String
		, gerda {|*|} 			//		OPTION: To store and retrieve a value in a database
		, TC a					//		To be able to store values in a dynamic
								//		TC is a special class cannot be included here
17
class iDataSerAndDeSerialize a
Peter Achten's avatar
Peter Achten committed
18
		| gParse{|*|}					//		To de-serialize a string back to a value
19
		, iDataSerialize a		
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
20

21
22
TraceInput			:== True			// show what kind of information is received from Client
TraceOutput			:== True			// show what kind of information is stored
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
23

Peter Achten's avatar
Peter Achten committed
24
MyDataBase			:== "iDataDatabase"	// name of database being used by iData applications
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
25

Peter Achten's avatar
Peter Achten committed
26
27
iDataIdSeparator 	 :== "."			// used as separator when combining iData form id's
radioButtonSeparator :== '.'			// used as extension for family of radiobuttons
28
29
30

// OPTIONS WHICH CAN BE SET OFF AND ON

31
IF_GERDA gerda no_gerda :== gerda		// If database option is used
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
32
//IF_GERDA gerda no_gerda :== no_gerda	// otherwise, BUT manually flag of ", gerda{|*|}" in the class definition above