source: trunk/skins/lemill/base_edit.cpt.metadata @ 1863

Revision 1863, 551 bytes checked in by jukka, 12 years ago (diff)

Forms have much clearer logic now. For every edit form base_edit.cpt can define its validators, then it sends to content_edit, where the form is processed, then content_edit.cpy.metadata forwards to next page or with materials to chapterController script. No mysterious leaps to Archetypes/skins anymore, all of the relevant steps are brought here.

Line 
1[default]
2title = Edit
3
4[validators]
5validators = validate_base, validate_title
6validators..form_add =
7validators..cancel =
8validators.PresentationMaterial= validate_base_silently, validate_title, validate_html_tags
9validators.PilotMaterial= validate_base_silently, validate_title, validate_html_tags
10validators.MultimediaMaterial= validate_base_silently, validate_title, validate_html_tags
11
12[actions]
13action.success = traverse_to:string:content_edit
14action.success..cancel = traverse_to:string:go_back
15action.failure = traverse_to_action:string:edit
Note: See TracBrowser for help on using the repository browser.