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