1. <!--- updateUser --->
  2. <cffunction name="updateUser">
  3. <cfargument name="event" type="any" />
  4. <!--- get the values from the framework --->
  5. <cfset var name = arguments.event.getValue("name") />
  6. <cfset var email = arguments.event.getValue("Email") />
  7. <!--- Ask the model to update a user --->
  8. <cfset var updateUser = variables.UserService.updateUser(ID, name, email, password, password2, submitType) />
  9. <cfreturn arguments.event />
  10. </cffunction>