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