1 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
3 |
|
displaying formdata when changing datasets. Loading the right |
4 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
5 |
|
Left some commented code because not all sideeffects of the changes |
6 |
|
are tested yet. |
7 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
8 |
|
now uses the correct data out of the formdata. |
9 |
|
|
10 |
|
|
11 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
14 |
|
print format data (dates e.g) |
15 |
|
|
16 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
19 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
20 |
|
No clue why this works. |
21 |
|
|
22 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
25 |
|
problem with radio groups, too. |
26 |
|
|
27 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
28 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
29 |
|
really removed when deleting a dataset. |
30 |
|
|
31 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
34 |
|
ErrorStats which provides Information on remaining errors per page. |
35 |
|
|
36 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
37 |
|
the renderer methods from controllers.py to renderers.py. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
40 |
|
handlers |
41 |
|
|
42 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
45 |
|
choices are generated from the document tree now. This brings |
46 |
|
the state storage of select boxes in HTML to live. |
47 |
|
|
48 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
51 |
|
range checking of integers. |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
54 |
|
ErrorItem to track errors. They are stored in the session. |
55 |
|
|
56 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
57 |
|
|
58 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
59 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
62 |
|
written 'errot' in renderer for textareas. |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
65 |
|
|
66 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
67 |
|
|
68 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
69 |
|
method. Could be cheaper for some implementations of help. |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
72 |
|
FormData to have distinct getData(), getHelp() and getError() |
73 |
|
methods. Various bug fixes. |
74 |
|
|
75 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
76 |
|
new FormData (trivial by now). |
77 |
|
|
78 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
79 |
|
some bug fixes. |
80 |
|
|
81 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
82 |
|
|
83 |
|
* tools/formed/formed/model/memory.py, |
84 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
85 |
|
to dataset abstraction. This is a bit of a workaround to bring |
86 |
|
global access across pages for rule checking to work. |
87 |
|
|
88 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
89 |
|
the compiled version was not stored in the RuleLeaf. |
90 |
|
|
91 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
92 |
|
convert the expression string to ascii for compilation. |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
95 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
96 |
|
with integer handler. |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
99 |
|
stuff. When a submit is done extract the rules from the tree document |
100 |
|
that are effected by the modified variables and check them. |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
103 |
|
when dealing with templates. |
104 |
|
|
105 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
106 |
|
* tools/formed/formed/plugins/web/controllers.py, |
107 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
108 |
|
functions into renderer.py. New render classes are: |
109 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
110 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
111 |
|
|
112 |
|
Note: The new methods are only called from selected handlers. Other |
113 |
|
handlers call the renderes in the old way. |
114 |
|
|
115 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
116 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
117 |
|
renderer.py to form_renderer.py. This file will contain formular |
118 |
|
specfic render methods in the future. |
119 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
120 |
|
which will contain general render methods. |
121 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
122 |
|
rendering into renderer.py or form_renderer.py. This file will only |
123 |
|
contain teh handlers in the future. |
124 |
|
|
125 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
126 |
|
* tools/formed/formed/plugins/web/renderer.py, |
127 |
|
tools/formed/formed/plugins/web/controller.py: |
128 |
|
Renderes now get an instance of the formdata object to provide |
129 |
|
access the data needed to render various infoboxes etc. Handler |
130 |
|
instanciate the formdata. |
131 |
|
|
132 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
133 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
134 |
|
getFormData interface to work. Added two small semantic fixes, but |
135 |
|
did not manage to get it up. Need to exime this a little bit more |
136 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
137 |
|
around the menus on the right side to be able to assign different |
138 |
|
styles. Added dataset actions while editing a dataset. |
139 |
|
|
140 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
141 |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
142 |
removing unwanted del method |
removing unwanted del method |