| 105 | | Look at other controllers in {{{eden/controllers}}}, and at the documentation for the controller helper function: |
| | 105 | Look at: |
| | 106 | * Other controllers in {{{eden/controllers}}} |
| | 107 | * The documentation for the controller helper function:[[BR]] |
| | 108 | wiki:S3/S3REST/s3_rest_controller [[BR]] |
| | 109 | * The documentation for a custom controller:[[BR]] |
| | 110 | http://eden.sahanafoundation.org/wiki/S3/S3Method |
| | 111 | |
| | 112 | Eden will automatically generate pages that correspond to database tables (list forms) or individual |
| | 113 | records (read or edit forms), or empty forms for adding new records (create forms). |
| | 114 | However, when a worker requests a task, there is not yet any database record for the task. Instead, |
| | 115 | we want to: |
| | 116 | * Select a new, not-yet-processed message. |
| | 117 | * Create a record in the (new) hit_task table (being worked on by the model team). |
| | 118 | * Return the standard form for the new record to the user. |