Index: waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
===================================================================
--- waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py	(revision 19)
+++ waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py	(revision 20)
@@ -2,4 +2,5 @@
 # $Id$
 """Return custom layouts types."""
+layouts = {}
 
 student_layout = {
@@ -83,9 +84,10 @@
     },
 }
-
-jamb_layout = {
+layouts['student'] = student_layout
+
+checkadmission = {
     'widgets': {
         'reg_nr': {
-            'type': 'String Widget',
+            'type': 'StudentId Widget',
             'data': {
                 'title': 'Student ID',
@@ -108,4 +110,64 @@
             },
         },
+        'sc_pin': {
+            'type': 'Scratchcard Pin Widget',
+            'data': {
+                'title': 'SC Pin',
+                'fields': (),
+                'is_required': True,
+                'label': 'Scratchcard Pin',
+                'label_edit': 'Scratchcard Pin',
+                'description': '',
+                'help': 'Please enter a valid Scratch card pin',
+                'is_i18n': False,
+                'readonly_layout_modes': (),
+                'hidden_layout_modes': (),
+                'hidden_readonly_layout_modes': (),
+                'hidden_empty': False,
+                'hidden_if_expr': '',
+                'css_class': '',
+                'widget_mode_expr': '',
+                'display_width': 10,
+                'size_max': 10,
+            },
+        },
+    },
+   'layout': {
+        'style_prefix': 'layout_admission_',
+        'flexible_widgets': (),
+        'ncols': 1,
+        'rows': [
+            [{'widget_id': 'reg_nr', 'ncols': 1},],
+            [{'widget_id': 'sc_pin', 'ncols': 1},],
+        ]
+    },
+}
+
+layouts['checkadmission'] = checkadmission
+
+jamb_layout = {
+    'widgets': {
+        'reg_nr': {
+            'type': 'StudentId Widget',
+            'data': {
+                'title': 'Student ID',
+                'fields': ('reg_nr',),
+                'is_required': True,
+                'label': 'Student ID',
+                'label_edit': 'Student ID',
+                'description': '',
+                'help': '',
+                'is_i18n': False,
+                'readonly_layout_modes': (),
+                'hidden_layout_modes': (),
+                'hidden_readonly_layout_modes': (),
+                'hidden_empty': False,
+                'hidden_if_expr': '',
+                'css_class': '',
+                'widget_mode_expr': '',
+                'display_width': 10,
+                'size_max': 0,
+            },
+        },
         'name': {
             'type': 'String Widget',
@@ -117,14 +179,14 @@
                 'label_edit': 'Name',
                 'description': '',
-                'help': '',
-                'is_i18n': False,
-                'readonly_layout_modes': (),
-                'hidden_layout_modes': (),
-                'hidden_readonly_layout_modes': (),
-                'hidden_empty': False,
-                'hidden_if_expr': '',
-                'css_class': '',
-                'widget_mode_expr': '',
-                'display_width': 20,
+                'help': 'Please enter your full name.',
+                'is_i18n': False,
+                'readonly_layout_modes': (),
+                'hidden_layout_modes': (),
+                'hidden_readonly_layout_modes': (),
+                'hidden_empty': False,
+                'hidden_if_expr': '',
+                'css_class': '',
+                'widget_mode_expr': '',
+                'display_width': 40,
                 'size_max': 0,
             },
@@ -148,10 +210,10 @@
                 'css_class': '',
                 'widget_mode_expr': '',
-                'display_width': 20,
+                'display_width': 10,
                 'size_max': 0,
             },
         },
         'sex': {
-            'type': 'String Widget',
+            'type': 'Boolean Widget',
             'data': {
                 'title': '',
@@ -160,4 +222,6 @@
                 'label': 'sex',
                 'label_edit': 'sex',
+                'label_false': 'male',
+                'label_true': 'female',
                 'description': '',
                 'help': '',
@@ -303,6 +367,4 @@
 }
 
-layouts = {}
-layouts['student'] = student_layout
 layouts['jamb'] = jamb_layout
 
Index: waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
===================================================================
--- waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py	(revision 19)
+++ waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py	(revision 20)
@@ -48,4 +48,22 @@
             'default_expr': 'string:',
             'is_searchabletext': True,
+            'acl_read_permissions': '',
+            'acl_read_roles': '',
+            'acl_read_expr': '',
+            'acl_write_permissions': '',
+            'acl_write_roles': '',
+            'acl_write_expr': '',
+            'read_ignore_storage': False,
+            'read_process_expr': '',
+            'read_process_dependent_fields': (),
+            'write_ignore_storage': False,
+            'write_process_expr': '',
+        },
+    },
+    'jamb_pin_usage': {
+        'type': 'CPS Int Field',
+        'data': {
+            'default_expr': 'python:0',
+            'is_searchabletext': False,
             'acl_read_permissions': '',
             'acl_read_roles': '',
Index: waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
===================================================================
--- waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py	(revision 19)
+++ waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py	(revision 20)
@@ -35,8 +35,8 @@
                  'action': 'folder_factories',
                  'permissions': (AddPortalContent,)},
-                {'id': 'contents',
-                 'name': 'action_folder_contents',
-                 'action': 'folder_contents',
-                 'permissions': (ModifyPortalContent,)},
+##                {'id': 'contents',
+##                 'name': 'action_folder_contents',
+##                 'action': 'folder_contents',
+##                 'permissions': (ModifyPortalContent,)},
                 {'id': 'edit',
                  'name': 'action_edit',
Index: waeup_product/trunk/skins/waeup_default/getWAeUPWidgets.py
===================================================================
--- waeup_product/trunk/skins/waeup_default/getWAeUPWidgets.py	(revision 19)
+++ waeup_product/trunk/skins/waeup_default/getWAeUPWidgets.py	(revision 20)
@@ -1,7 +1,11 @@
 widgets = {
-##        'MyProject Week Date Time Widget': {
-##            'type': 'MyProject Week Date Time Widget Type',
-##            'data': {},
-##            },
+        'StudentId Widget': {
+            'type': 'StudentId Widget Type',
+            'data': {},
+            },
+        'Scratchcard Pin Widget': {
+            'type': 'StudentId Widget Type',
+            'data': {},
+            },
         }
 
