Jump to content

ATK Action Handlers: Difference between revisions

From NusaATK
No edit summary
No edit summary
Line 2: Line 2:


;[[Add]]: Displays a form for the user to create a new record
;[[Add]]: Displays a form for the user to create a new record
;[[Addorcopy]]: Allows the user to select an existing record to base a new record on
;[[Admin]]: Displays a screen to manage records (a record list)  
;[[Admin]]: Displays a screen to manage records (a record list)  
;[[Copy]]: Copies a record
;[[Copy]]: Copies a record

Revision as of 11:29, 29 April 2009

ATK natively supports the following actions/handlers:

Add
Displays a form for the user to create a new record
Addorcopy
Allows the user to select an existing record to base a new record on
Admin
Displays a screen to manage records (a record list)
Copy
Copies a record
Delete
Deletes a record from the database (after confirmation)
Document
Generates an OpenOffice document from a record
Editcopy
First creates a copy of a record and then displays a screen to edit the copied record
Edit
Displays a screen to edit a record
Export
Opens a CSV export screen where the user can set options and generate a CSV file
Feedback
Displays a feedback message; used by other actions to display a success or failure message
Import
Opens a CSV import screen with parameters to import CSV files
Save
Saves a new record to the database
Search
Displays a standard extended search form and a recordlist with results
Select
Displays a list of records with a select icon, useful to select a record for further processing
Smartsearch
Opens an AJAX based extended search form
Update
Updated a record in the database
View
Displays a read-only page with a record
XML
Exports a record to XML format


Actions can be captured using Action Listeners.


Making your own actions (atkRegisterNodeHandler, Custom (record) actions)