1 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
4 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
7 |
|
written 'errot' in renderer for textareas. |
8 |
|
|
9 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
10 |
|
|
11 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
14 |
|
method. Could be cheaper for some implementations of help. |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
17 |
|
FormData to have distinct getData(), getHelp() and getError() |
18 |
|
methods. Various bug fixes. |
19 |
|
|
20 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
21 |
|
new FormData (trivial by now). |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
24 |
|
some bug fixes. |
25 |
|
|
26 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/model/memory.py, |
29 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
30 |
|
to dataset abstraction. This is a bit of a workaround to bring |
31 |
|
global access across pages for rule checking to work. |
32 |
|
|
33 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
34 |
|
the compiled version was not stored in the RuleLeaf. |
35 |
|
|
36 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
37 |
|
convert the expression string to ascii for compilation. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
40 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
41 |
|
with integer handler. |
42 |
|
|
43 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
44 |
|
stuff. When a submit is done extract the rules from the tree document |
45 |
|
that are effected by the modified variables and check them. |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
48 |
|
when dealing with templates. |
49 |
|
|
50 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
51 |
|
* tools/formed/formed/plugins/web/controllers.py, |
52 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
53 |
|
functions into renderer.py. New render classes are: |
54 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
55 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
56 |
|
|
57 |
|
Note: The new methods are only called from selected handlers. Other |
58 |
|
handlers call the renderes in the old way. |
59 |
|
|
60 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
61 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
62 |
|
renderer.py to form_renderer.py. This file will contain formular |
63 |
|
specfic render methods in the future. |
64 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
65 |
|
which will contain general render methods. |
66 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
67 |
|
rendering into renderer.py or form_renderer.py. This file will only |
68 |
|
contain teh handlers in the future. |
69 |
|
|
70 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
71 |
|
* tools/formed/formed/plugins/web/renderer.py, |
72 |
|
tools/formed/formed/plugins/web/controller.py: |
73 |
|
Renderes now get an instance of the formdata object to provide |
74 |
|
access the data needed to render various infoboxes etc. Handler |
75 |
|
instanciate the formdata. |
76 |
|
|
77 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
78 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
79 |
|
getFormData interface to work. Added two small semantic fixes, but |
80 |
|
did not manage to get it up. Need to exime this a little bit more |
81 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
82 |
|
around the menus on the right side to be able to assign different |
83 |
|
styles. Added dataset actions while editing a dataset. |
84 |
|
|
85 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
86 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
87 |
|
removing unwanted del method |
88 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
89 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
90 |
|
templates as well for larger information units like the dataset summary. |
91 |
|
|
92 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
93 |
|
|
94 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
95 |
|
method to document to find index of page. |
96 |
|
|
97 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
98 |
|
to fetch data from semantic box. |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
101 |
|
FormData implementation to support DB and semantic box. |
102 |
|
|
103 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
106 |
|
error message. |
107 |
|
|
108 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
109 |
|
dataset from backend each time a page is up to edit. |
110 |
|
|
111 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
114 |
|
returns "Page not found" if given page is None. |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
117 |
|
to avoid crashing when ask for a non-existent page. |
118 |
|
|
119 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
122 |
|
|
123 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
124 |
|
|
125 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
126 |
|
and renderers. |
127 |
|
|
128 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
129 |
|
and renderers now. TODO: Move renderers to renderer.py |
130 |
|
|
131 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
132 |
|
|
133 |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
134 |
and bound in the the new added functions to create, edit, delete and |
and bound in the the new added functions to create, edit, delete and |
135 |
show formdata. |
show formdata. |
136 |
|
|
137 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
138 |
|
|