blob: 3518b7d9a0b77c53e70a51988a9d193e9fa85edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Goals:
Never write an init block for a page that just views/edits pages
No style embedded in view/edit pages
Validation / Error display and re-editing.
Implementation.
For a given object's fields:
print a label for the field
print the current values for the field
print an edit widget for create
print an edit widget for update
for a given form buttons for "perform the action" "don't perform the main action"
Edit widgets
text input
hidden
fixed enum as { dropdown, select multiple, sleect single, radio}
checkbox fixed enum
|