Index: main/waeup.imostate/src/waeup/imostate/applicants/browser.py
===================================================================
--- main/waeup.imostate/src/waeup/imostate/applicants/browser.py	(revision 10358)
+++ main/waeup.imostate/src/waeup/imostate/applicants/browser.py	(revision 10359)
@@ -24,4 +24,5 @@
     IExtFileStore, IFileStoreNameChooser)
 from zope.formlib.textwidgets import BytesDisplayWidget
+from hurry.workflow.interfaces import IWorkflowState
 from waeup.kofa.utils.helpers import string_from_bytes, file_size
 from waeup.imostate.applicants.interfaces import (
@@ -36,4 +37,6 @@
     NigeriaApplicantEditFormPage,
     NigeriaPDFApplicationSlip)
+
+from waeup.imostate.applicants.workflow import STARTED
 
 MAX_FILE_UPLOAD_SIZE = 1024 * 500
@@ -171,4 +174,5 @@
     """
     grok.template('applicanteditpage')
+    submit_state = STARTED
 
     @property
@@ -178,4 +182,12 @@
         form_fields['reg_number'].for_display = True
         return form_fields
+
+    @property
+    def display_actions(self):
+        state = IWorkflowState(self.context).getState()
+        actions = [[],[]]
+        if state == STARTED:
+            actions = [[_('Save'), _('Final Submit')], []]
+        return actions
 
     def dataNotComplete(self):
Index: main/waeup.imostate/src/waeup/imostate/applicants/workflow.py
===================================================================
--- main/waeup.imostate/src/waeup/imostate/applicants/workflow.py	(revision 10359)
+++ main/waeup.imostate/src/waeup/imostate/applicants/workflow.py	(revision 10359)
@@ -0,0 +1,125 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Customized workflow for applicants.
+"""
+import grok
+from hurry.workflow.workflow import Transition, WorkflowState, NullCondition
+from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent
+from waeup.kofa.applicants.interfaces import IApplicantBaseData
+from waeup.kofa.interfaces import IObjectHistory, IKofaWorkflowInfo, IKofaUtils
+from waeup.kofa.interfaces import MessageFactory as _
+from waeup.kofa.workflow import KofaWorkflow, KofaWorkflowInfo
+from waeup.kofa.applicants.workflow import ( ApplicationWorkflowInfo,
+    INITIALIZED, STARTED, SUBMITTED, ADMITTED, NOT_ADMITTED, CREATED)
+
+APPLICATION_TRANSITIONS = (
+    Transition(
+        transition_id = 'init',
+        title = _('Initialize application'),
+        source = None,
+        condition = NullCondition,
+        msg = _('Application initialized'),
+        destination = INITIALIZED),
+
+    Transition(
+        transition_id = 'start',
+        title = _('Start application'),
+        msg = _('Application started'),
+        source = INITIALIZED,
+        destination = STARTED),
+
+    Transition(
+        transition_id = 'submit',
+        title = _('Submit application'),
+        msg = _('Application submitted'),
+        source = STARTED,
+        destination = SUBMITTED),
+
+    Transition(
+        transition_id = 'admit',
+        title = _('Admit applicant'),
+        msg = _('Applicant admitted'),
+        source = SUBMITTED,
+        destination = ADMITTED),
+
+    Transition(
+        transition_id = 'refuse1',
+        title = _('Refuse application'),
+        msg = _('Application refused'),
+        source = SUBMITTED,
+        destination = NOT_ADMITTED),
+
+    Transition(
+        transition_id = 'refuse2',
+        title = _('Refuse application'),
+        msg = _('Application refused'),
+        source = ADMITTED,
+        destination = NOT_ADMITTED),
+
+    Transition(
+        transition_id = 'create',
+        title = _('Create student record'),
+        msg = _('Student record created'),
+        source = ADMITTED,
+        destination = CREATED),
+
+    Transition(
+        transition_id = 'reset1',
+        title = _('Reset application to started'),
+        msg = _('Application reset'),
+        source = SUBMITTED,
+        destination = STARTED),
+
+    Transition(
+        transition_id = 'reset2',
+        title = _('Reset application to started'),
+        msg = _('Application reset'),
+        source = ADMITTED,
+        destination = STARTED),
+
+    Transition(
+        transition_id = 'reset3',
+        title = _('Reset application to started'),
+        msg = _('Application reset'),
+        source = NOT_ADMITTED,
+        destination = STARTED),
+
+    Transition(
+        transition_id = 'reset4',
+        title = _('Reset application to started'),
+        msg = _('Application reset'),
+        source = CREATED,
+        destination = STARTED),
+
+    Transition(
+        transition_id = 'reset7',
+        title = _('Reset application to admitted'),
+        msg = _('Application reset to admitted'),
+        source = CREATED,
+        destination = ADMITTED),
+    )
+
+application_workflow = KofaWorkflow(APPLICATION_TRANSITIONS)
+
+class CustomApplicationWorkflowInfo(ApplicationWorkflowInfo):
+    """Adapter to adapt Applicant objects to workflow info objects.
+    """
+
+    def __init__(self, context):
+        self.context = context
+        self.wf = application_workflow
