Changes between Version 70 and Version 71 of S3/S3REST/s3_rest_controller
- Timestamp:
- 12/03/11 22:08:41 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v70 v71 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 FORM instance (with the input data being in form.vars) 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 ====