Ignore:
Timestamp:
May 13, 2009, 12:51:15 PM (16 years ago)
Author:
gav
Message:

Add icons from famfamfam silk icons, add acknowledgement page to suite.
Adjust AssignedPerson? controller so that a task.id is required to create.
Move Add AssignedPerson? link up to TaskDetailed? show page.
Further improvements to taskDetailed show tabs.
Adjust TaskProcedureDetailed? controller to allow linking a Procedure to a task during creation.
Adjust TaskRecurringSchedule? to a one-to-one cascading relationship.
Modify CSS class duration to time and added icons.
Regenerate some pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/AssignedPersonDetailedController.groovy

    r97 r134  
    8282
    8383    def create = {
     84                if(!params.task?.id) {
     85                        flash.message = "Please select a task and then 'Add Assigned Person'"
     86                        redirect(controller: "taskDetailed", action: list)
     87                }
     88                else {
    8489        def assignedPersonInstance = new AssignedPerson()
    8590        assignedPersonInstance.properties = params
    8691        return ['assignedPersonInstance':assignedPersonInstance]
     92                }
    8793    }
    8894
Note: See TracChangeset for help on using the changeset viewer.