1 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
4 |
|
from ChoiceLeaf. Use 'value' instead, please! |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
7 |
|
instead of 'options' to render choices. |
8 |
|
|
9 |
|
* contrib/convert-choices.xsl: Added to convert document files |
10 |
|
which use the choice 'option' attribute to usage of 'value'. |
11 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
12 |
|
|
13 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
14 |
|
|
15 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
16 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
17 |
|
|
18 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
19 |
|
|
20 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
21 |
|
initialized with size = 1. |
22 |
|
|
23 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
24 |
|
|
25 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
26 |
|
initialized with size = 40, maxlength = 60 |
27 |
|
|
28 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
31 |
|
are renderered with description now. |
32 |
|
|
33 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
36 |
|
for date items. Added missing ids for texts and textareas. |
37 |
|
|
38 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
39 |
|
|
40 |
|
* tools/formed/formed/config.py: Evaluate the environment |
41 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
42 |
|
|
43 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
44 |
|
to the config at setup time. |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
47 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
48 |
|
e.g. FORMED='web.port:8888' |
49 |
|
|
50 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
51 |
|
the reference to the config. |
52 |
|
|
53 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
54 |
|
|
55 |
|
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
56 |
|
info tags. Use the 'value' attributes for same purpose now, please! |
57 |
|
|
58 |
|
* tools/formed/formed/model/data.py: removed text attributes from |
59 |
|
InfoLeaf. |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/web/renderer.py: Rendering of info |
62 |
|
now uses the 'value' instead of the 'text' attributes. |
63 |
|
|
64 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/model/data.py: next/prevPage() are |
67 |
|
methods of PageNode now. |
68 |
|
|
69 |
|
* tools/formed/formed/model/nodecomponents.py: findByClassAndName() |
70 |
|
is method of Document now. |
71 |
|
|
72 |
|
* tools/formed/formed/plugins/web/plugin.py: Factored out |
73 |
|
the HTML renderer. |
74 |
|
|
75 |
|
* tools/formed/formed/plugins/web/renderer.py: New: contains |
76 |
|
the HTML renderer now. |
77 |
|
|
78 |
|
* tools/formed/test-data/simple.xml: Fixed typo |
79 |
|
|
80 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed a bug |
83 |
|
in calculation of width of bounded int fields. |
84 |
|
|
85 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
86 |
|
|
87 |
|
* tools/formed/test-data/simple.xml: Make demo Int fancier. |
88 |
|
|
89 |
|
* tools/formed/formed/model/data.py: Added attributes to IntLeaf |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering for |
92 |
|
Ints |
93 |
|
|
94 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
95 |
|
|
96 |
|
* tools/formed/test-data/simple.xml: Added demo textarea |
97 |
|
|
98 |
|
* tools/formed/formed/model/data.py: Added TextAreaLeaf |
99 |
|
|
100 |
|
* tools/formed/formed/io/document.py: register builder |
101 |
|
for loading of textareas |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
104 |
|
for textareas. |
105 |
|
|
106 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
107 |
|
|
108 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
109 |
|
|
110 |
|
* tools/formed/formed/model/data.py: Added attributes for texts |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
113 |
|
for texts |
114 |
|
|
115 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
116 |
|
|
117 |
|
* tools/formed/test-data/simple.xml: Make demo choice fancier. |
118 |
|
|
119 |
|
* tools/formed/formed/model/data.py: Added attributes for choices. |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
122 |
|
for choices |
123 |
|
|
124 |
|
2007-08-09 Sascha L. Teichmann <[email protected]> |
125 |
|
|
126 |
|
* tools/formed/formed/model/data.py, |
127 |
|
tools/formed/formed/model/nodecomponents.py: Added new |
128 |
|
attributes. |
129 |
|
|
130 |
|
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
131 |
|
for checkboxes and radio buttons. |
132 |
|
|
133 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
134 |
|
|
135 |
* tools/formed/test-data/simple.xml: Added some descriptions |
* tools/formed/test-data/simple.xml: Added some descriptions |