Update: Difference between revisions
Appearance
New page |
No edit summary |
||
| Line 3: | Line 3: | ||
The standard handler class for the update action of a node is the atkUpdatehandler. | The standard handler class for the update action of a node is the atkUpdatehandler. | ||
This handler saves an existing record to the database. The data is retrieved from the postvars. This is the action that follows an 'edit' action. The 'edit' action draws the edit form, the 'update' action saves the data to the database. | This handler saves an existing record to the database. The data is retrieved from the postvars. This is the action that follows an [[edit|'edit']] action. The 'edit' action draws the edit form, the 'update' action saves the data to the database. | ||
Validation of the record is performed before storage. If validation fails, the edit handler is invoked again. | Validation of the record is performed before storage. If validation fails, the edit handler is invoked again. | ||
---- | |||
Back to Actions | |||
Revision as of 20:50, 7 January 2010
The update action is used for saving changes to an existing record.
The standard handler class for the update action of a node is the atkUpdatehandler.
This handler saves an existing record to the database. The data is retrieved from the postvars. This is the action that follows an 'edit' action. The 'edit' action draws the edit form, the 'update' action saves the data to the database.
Validation of the record is performed before storage. If validation fails, the edit handler is invoked again.
Back to Actions