Ignore:
Timestamp:
Dec 3, 2009, 11:44:05 PM (15 years ago)
Author:
gav
Message:

Finishing touches to recurring tasks.

File:
1 edited

Legend:

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

    r208 r213  
    7777    def create = {
    7878        if(!params.task?.id || !Task.exists(params.task?.id)) {
    79             flash.message = "Please select a task, then Create a Recurring Schedule for it."
     79            flash.message = "Please select a task, then create a recurring schedule for it."
    8080            redirect(controller:"taskDetailed", action:"search")
    8181            return
    8282        }
    83         def taskRecurringScheduleInstance = new TaskRecurringSchedule()
    84         taskRecurringScheduleInstance.properties = params
     83        def taskRecurringScheduleInstance = new TaskRecurringSchedule(params)
    8584        return [taskRecurringScheduleInstance: taskRecurringScheduleInstance]
    86     } // end create()
     85    }
    8786
    8887    def save = {
     
    9695            render(view:'create',model:[taskRecurringScheduleInstance: result.taskRecurringScheduleInstance])
    9796        }
    98     } // end save()
     97    }
    9998
    10099}
Note: See TracChangeset for help on using the changeset viewer.