Index: WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml	(revision 1016)
+++ WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml	(revision 1025)
@@ -19,5 +19,5 @@
   <property name="hidden_readonly_layout_modes"/>
  </widget>
- <widget name="study_course" meta_type="String Widget">
+ <widget name="study_course" meta_type="StudyCourse Widget">
   <property name="title">Certificate Code</property>
   <property name="fields">
@@ -31,183 +31,8 @@
   <property name="hidden_readonly_layout_modes"/>
  </widget>
- <widget name="end_level" meta_type="Select Widget">
-  <property name="title">End Level</property>
-  <property name="fields">
-   <element value="end_level"/>
-  </property>
-  <property name="label">End Level</property>
-  <property name="label_edit">End Level</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="vocabulary">courselevel</property>
- </widget>
- <widget name="max_elect" meta_type="String Widget">
-  <property name="title">Max Elect</property>
-  <property name="fields">
-   <element value="max_elect"/>
-  </property>
-  <property name="label">Max Elect</property>
-  <property name="label_edit">Max Elect</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="max_load" meta_type="Int Widget">
-  <property name="title">Maximum Load</property>
-  <property name="fields">
-   <element value="max_load"/>
-  </property>
-  <property name="is_required">False</property>
-  <property name="label">Maximum Load</property>
-  <property name="label_edit">Maximum Load</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="max_pass" meta_type="Int Widget">
-  <property name="title">Maximum Pass</property>
-  <property name="fields">
-   <element value="max_pass"/>
-  </property>
-  <property name="is_required">False</property>
-  <property name="label">Maximum Pass</property>
-  <property name="label_edit">Maximum Pass</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="n_core" meta_type="Int Widget">
-  <property name="title">NCore</property>
-  <property name="fields">
-   <element value="n_core"/>
-  </property>
-  <property name="label">NCore</property>
-  <property name="label_edit">NCore</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="nr_years" meta_type="Int Widget">
-  <property name="title">Nr of Years</property>
-  <property name="fields">
-   <element value="nr_years"/>
-  </property>
-  <property name="label">Nr of Years</property>
-  <property name="label_edit">Nr of Years</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="probation_credits" meta_type="Int Widget">
-  <property name="title">Probation  Credits</property>
-  <property name="fields">
-   <element value="probation_credits"/>
-  </property>
-  <property name="label">Probation  Credits</property>
-  <property name="label_edit">Probation  Credits</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="promotion_credits" meta_type="Int Widget">
-  <property name="title">Promotion  Credits</property>
-  <property name="fields">
-   <element value="promotion_credits"/>
-  </property>
-  <property name="label">Promotion  Credits</property>
-  <property name="label_edit">Promotion  Credits</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="start_level" meta_type="Select Widget">
-  <property name="title">Start Level</property>
-  <property name="fields">
-   <element value="start_level"/>
-  </property>
-  <property name="label">Start Level</property>
-  <property name="label_edit">Start Level</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="vocabulary">courselevel</property>
- </widget>
- <widget name="end_level" meta_type="Select Widget">
-  <property name="title">End Level</property>
-  <property name="fields">
-   <element value="end_level"/>
-  </property>
-  <property name="label">End Level</property>
-  <property name="label_edit">End Level</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="vocabulary">courselevel</property>
- </widget>
- <widget name="department" meta_type="String Widget">
-  <property name="title">Department Code</property>
-  <property name="fields">
-   <element value="department"/>
-  </property>
-  <property name="is_required">False</property>
-  <property name="label">Department Code</property>
-  <property name="label_edit">Department Code</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
- <widget name="faculty" meta_type="String Widget">
-  <property name="title">Faculty Code</property>
-  <property name="fields">
-   <element value="faculty"/>
-  </property>
-  <property name="is_required">False</property>
-  <property name="label">Faculty Code</property>
-  <property name="label_edit">Faculty Code</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
- </widget>
  <table>
-  <row>
-   <cell name="title"/>
-  </row>
   <row>
    <cell name="study_course"/>
   </row>
-  <row>
-   <cell name="faculty"/>
-  </row>
-  <row>
-   <cell name="department"/>
-  </row>
-  <row>
-   <cell name="start_level"/>
-  </row>
-  <row>
-   <cell name="end_level"/>
-  </row>
-  <row>
-   <cell name="max_pass"/>
-  </row>
-  <row>
-   <cell name="max_load"/>
-  </row>
-  <row>
-   <cell name="promotion_credits"/>
-  </row>
-  <row>
-   <cell name="probation_credits"/>
-  </row>
-  <row>
-   <cell name="nr_years"/>
-  </row>
-  <row>
-   <cell name="n_core"/>
-  </row>
-  <row>
-   <cell name="max_elect"/>
-  </row>
  </table>
 </object>
