Changeset 339
- Timestamp:
- 18 Jul 2006, 14:31:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/common.xml
r336 r339 1 common_layout = { 2 'widgets': { 3 'Description': { 4 'type': 'Text Widget', 5 'data': { 6 'title': '', 7 'fields': ('Description',), 8 'is_required': 0, 9 'label': '', 10 'label_edit': 'cpsdoc_description_label_edit', 11 'description': '', 12 'help': '', 13 'is_i18n': True, 14 'readonly_layout_modes': [], 15 'hidden_layout_modes': [], 16 'hidden_readonly_layout_modes': [], 17 'hidden_empty': 0, 18 'hidden_if_expr': '', 19 'widget_mode_expr': '', 20 'css_class': 'ddescription', 21 'css_class_expr': '', 22 'javascript_expr': '', 23 'width': 72, 24 'height': 5, 25 'size_max': 2097152, 26 'file_uploader': 0, 27 'render_format': 'text', 28 'render_position': 'normal', 29 'configurable': 'nothing', 30 }, 31 }, 32 'Title': { 33 'type': 'Heading Widget', 34 'data': { 35 'title': '', 36 'fields': ('Title',), 37 'is_required': True, 38 'label': '', 39 'label_edit': 'cpsdoc_title_label_edit', 40 'description': '', 41 'help': '', 42 'is_i18n': True, 43 'readonly_layout_modes': (), 44 'hidden_layout_modes': (), 45 'hidden_readonly_layout_modes': (), 46 'hidden_empty': 0, 47 'hidden_if_expr': '', 48 'widget_mode_expr': '', 49 'css_class': '', 50 'css_class_expr': '', 51 'javascript_expr': '', 52 'display_width': 72, 53 'size_max': 200, 54 'level': '1', 55 }, 56 }, 57 }, 58 'layout': { 59 'layout_create_method': '', 60 'layout_edit_method': '', 61 'layout_view_method': '', 62 'style_prefix': 'layout_default_', 63 'flexible_widgets': (), 64 'validate_values_expr': '', 65 'ncols': 1, 66 'rows': [ 67 [{'widget_id': 'Title', 'ncols': 1}, 68 ], 69 [{'widget_id': 'Description', 'ncols': 1}, 70 ], 71 ], 72 }, 73 } 1 <?xml version="1.0"?> 2 <object name="common" meta_type="CPS Layout"> 3 <property name="layout_create_method"></property> 4 <property name="layout_edit_method"></property> 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_default_</property> 7 <property name="flexible_widgets"/> 8 <property name="validate_values_expr"></property> 9 <widget name="Description" meta_type="Text Widget"> 10 <property name="fields"> 11 <element value="Description"/> 12 </property> 13 <property name="label_edit">cpsdoc_description_label_edit</property> 14 <property name="is_i18n">True</property> 15 <property name="css_class">ddescription</property> 16 <property name="width">72</property> 17 </widget> 18 <widget name="Title" meta_type="Heading Widget"> 19 <property name="fields"> 20 <element value="Title"/> 21 </property> 22 <property name="is_required">True</property> 23 <property name="label_edit">cpsdoc_title_label_edit</property> 24 <property name="is_i18n">True</property> 25 <property name="readonly_layout_modes"/> 26 <property name="hidden_layout_modes"/> 27 <property name="hidden_readonly_layout_modes"/> 28 <property name="size_max">200</property> 29 </widget> 30 <table> 31 <row> 32 <cell name="Title"/> 33 </row> 34 <row> 35 <cell name="Description"/> 36 </row> 37 </table> 38 </object>
Note: See TracChangeset for help on using the changeset viewer.