Changes between Version 69 and Version 70 of S3/S3REST/s3_rest_controller
- Timestamp:
- 12/03/11 22:07:55 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v69 v70 230 230 This allows you to define a common onaccept callback for both ''create'' and ''update''. 231 231 232 The {{{onaccept}}} callbacks are meant to perform extra post-processing of the newly created/updated record (e.g. to update dependent records). The callback functions receive the respective '''record'''as first and only parameter, while their return value will be ignored.232 The {{{onaccept}}} callbacks are meant to perform extra post-processing of the newly created/updated record (e.g. to update dependent records). The callback functions receive the respective FORM instance (with the input data being in form.vars) as first and only parameter, while their return value will be ignored. 233 233 234 234 ==== On-Delete Callback ====