From d4d0590bef31071e8809ec046717444b95b3f30a Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 15 Oct 2005 09:11:20 +0000 Subject: import rt 3.4.4 --- rt/docs/design_docs/rt-mvc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 rt/docs/design_docs/rt-mvc (limited to 'rt/docs/design_docs/rt-mvc') diff --git a/rt/docs/design_docs/rt-mvc b/rt/docs/design_docs/rt-mvc new file mode 100644 index 000000000..3518b7d9a --- /dev/null +++ b/rt/docs/design_docs/rt-mvc @@ -0,0 +1,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 + -- cgit v1.2.1