source: WAeUP_SRP/branches/srpp_on_branch/profiles/default/layouts/department.xml @ 17394

Last change on this file since 17394 was 853, checked in by Henrik Bettermann, 18 years ago

is_reqired set to false except for code and id fields

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1<?xml version="1.0"?>
2<object name="department" 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_waeup_</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">Description</property>
14  <property name="label_edit">Description</property>
15  <property name="is_i18n">True</property>
16  <property name="hidden_layout_modes"/>
17  <property name="css_class">description</property>
18  <property name="width">72</property>
19 </widget>
20 <widget name="Title" meta_type="String Widget">
21  <property name="fields">
22   <element value="title"/>
23  </property>
24  <property name="is_required">False</property>
25  <property name="label">Title</property>
26  <property name="label_edit">Title</property>
27  <property name="display_width">40</property>
28  <property name="size_max">200</property>
29 </widget>
30 <widget name="code" meta_type="WAeUPId Widget">
31  <property name="title">Department ID</property>
32  <property name="fields">
33   <element value="code"/>
34  </property>
35  <property name="is_required">True</property>
36  <property name="label">Department ID</property>
37  <property name="label_edit">Department ID</property>
38  <property name="readonly_layout_modes"/>
39  <property name="hidden_layout_modes">
40   <element value="view"/>
41   <element value="edit"/>
42  </property>
43  <property name="hidden_readonly_layout_modes"/>
44 </widget>
45 <widget name="title_prefix" meta_type="Select Widget">
46  <property name="title">Title Prefix</property>
47  <property name="fields">
48   <element value="title_prefix"/>
49  </property>
50  <property name="label">Title Prefix</property>
51  <property name="label_edit">Title Prefix</property>
52  <property name="readonly_layout_modes"/>
53  <property name="hidden_layout_modes"/>
54  <property name="hidden_readonly_layout_modes"/>
55  <property name="vocabulary">institution_types_voc</property>
56 </widget>
57 <table>
58  <row>
59   <cell name="code"/>
60  </row>
61  <row>
62   <cell name="title_prefix"/>
63  </row>
64  <row>
65   <cell name="Title"/>
66  </row>
67  <row>
68   <cell name="Description"/>
69  </row>
70 </table>
71</object>
Note: See TracBrowser for help on using the repository browser.