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