1 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
3 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
4 |
|
icons in error and confirmation dialogs. |
5 |
|
|
6 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
9 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
10 |
|
|
11 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
14 |
|
debug output for help. |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
17 |
|
check for bools. |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
20 |
|
HTML output of data for bools. |
21 |
|
|
22 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
25 |
|
textfields for int values. Changed Label for submitbuttons to |
26 |
|
"Speichern" |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/plugin.py, |
29 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
30 |
|
NotImplementedHandler to show up a dummysite for not implemented |
31 |
|
functions. |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
34 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
35 |
|
labels of some context menus. Error messages are now generated |
36 |
|
dynamically depending on num errors. Formular navigation has now |
37 |
|
colored indication for errors. |
38 |
|
|
39 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
42 |
|
algorithm for the formular navigation to get rid of the problem |
43 |
|
that some of the items within the navigation are not linked. Now |
44 |
|
structural group elements are linked with the next page found in the |
45 |
|
formular structure. |
46 |
|
|
47 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
48 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
49 |
|
div and formtag. |
50 |
|
|
51 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
52 |
|
menu in the conformation dialog when creating a new dataset. |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
55 |
|
rendering the default welcome page. Changed rendering of the |
56 |
|
overview and the digest table of the datasets. Added icon for |
57 |
|
confirmation dialog, moved the icon in the <h1> tags. |
58 |
|
|
59 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
62 |
|
generation cleanup. Added error icons to formelements |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
65 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
68 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
69 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
70 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
71 |
|
old obsolete OverviewRenderer. |
72 |
|
|
73 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
74 |
|
|
75 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
76 |
|
page in page navigation. |
77 |
|
|
78 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
79 |
|
|
80 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
81 |
|
displaying formdata when changing datasets. Loading the right |
82 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
83 |
|
Left some commented code because not all sideeffects of the changes |
84 |
|
are tested yet. |
85 |
|
|
86 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
87 |
|
now uses the correct data out of the formdata. |
88 |
|
|
89 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
92 |
|
print format data (dates e.g) |
93 |
|
|
94 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
95 |
|
|
96 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
97 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
98 |
|
No clue why this works. |
99 |
|
|
100 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
103 |
|
problem with radio groups, too. |
104 |
|
|
105 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
106 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
107 |
|
really removed when deleting a dataset. |
108 |
|
|
109 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
112 |
|
ErrorStats which provides Information on remaining errors per page. |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
115 |
|
the renderer methods from controllers.py to renderers.py. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
118 |
|
handlers |
119 |
|
|
120 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
123 |
|
choices are generated from the document tree now. This brings |
124 |
|
the state storage of select boxes in HTML to live. |
125 |
|
|
126 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
127 |
|
|
128 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
129 |
|
range checking of integers. |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
132 |
|
ErrorItem to track errors. They are stored in the session. |
133 |
|
|
134 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
135 |
|
|
136 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
137 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
140 |
|
written 'errot' in renderer for textareas. |
141 |
|
|
142 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
143 |
|
|
144 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
145 |
|
|
146 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
147 |
|
method. Could be cheaper for some implementations of help. |
148 |
|
|
149 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
150 |
|
FormData to have distinct getData(), getHelp() and getError() |
151 |
|
methods. Various bug fixes. |
152 |
|
|
153 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
154 |
|
new FormData (trivial by now). |
155 |
|
|
156 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
157 |
|
some bug fixes. |
158 |
|
|
159 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
160 |
|
|
161 |
|
* tools/formed/formed/model/memory.py, |
162 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
163 |
|
to dataset abstraction. This is a bit of a workaround to bring |
164 |
|
global access across pages for rule checking to work. |
165 |
|
|
166 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
167 |
|
the compiled version was not stored in the RuleLeaf. |
168 |
|
|
169 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
170 |
|
convert the expression string to ascii for compilation. |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
173 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
174 |
|
with integer handler. |
175 |
|
|
176 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
177 |
|
stuff. When a submit is done extract the rules from the tree document |
178 |
|
that are effected by the modified variables and check them. |
179 |
|
|
180 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
181 |
|
when dealing with templates. |
182 |
|
|
183 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
184 |
|
* tools/formed/formed/plugins/web/controllers.py, |
185 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
186 |
|
functions into renderer.py. New render classes are: |
187 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
188 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
189 |
|
|
190 |
|
Note: The new methods are only called from selected handlers. Other |
191 |
|
handlers call the renderes in the old way. |
192 |
|
|
193 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
194 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
195 |
|
renderer.py to form_renderer.py. This file will contain formular |
196 |
|
specfic render methods in the future. |
197 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
198 |
|
which will contain general render methods. |
199 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
200 |
|
rendering into renderer.py or form_renderer.py. This file will only |
201 |
|
contain teh handlers in the future. |
202 |
|
|
203 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
204 |
|
* tools/formed/formed/plugins/web/renderer.py, |
205 |
|
tools/formed/formed/plugins/web/controller.py: |
206 |
|
Renderes now get an instance of the formdata object to provide |
207 |
|
access the data needed to render various infoboxes etc. Handler |
208 |
|
instanciate the formdata. |
209 |
|
|
210 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
211 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
212 |
|
getFormData interface to work. Added two small semantic fixes, but |
213 |
|
did not manage to get it up. Need to exime this a little bit more |
214 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
215 |
|
around the menus on the right side to be able to assign different |
216 |
|
styles. Added dataset actions while editing a dataset. |
217 |
|
|
218 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
219 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
220 |
|
removing unwanted del method |
221 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
222 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
223 |
|
templates as well for larger information units like the dataset summary. |
224 |
|
|
225 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
226 |
|
|
227 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
228 |
|
method to document to find index of page. |
229 |
|
|
230 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
231 |
|
to fetch data from semantic box. |
232 |
|
|
233 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
234 |
|
FormData implementation to support DB and semantic box. |
235 |
|
|
236 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
237 |
|
|
238 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
239 |
|
error message. |
240 |
|
|
241 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
242 |
|
dataset from backend each time a page is up to edit. |
243 |
|
|
244 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
245 |
|
|
246 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
247 |
|
returns "Page not found" if given page is None. |
248 |
|
|
249 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
250 |
|
to avoid crashing when ask for a non-existent page. |
251 |
|
|
252 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |