Jump to content

ATK Action Handlers: Difference between revisions

From NusaATK
No edit summary
Guri (talk | contribs)
m Added 'existing' record for Edit action
Line 8: Line 8:
;[[Document]]: Generates an OpenOffice document from a record
;[[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
;[[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
;[[Edit]]: Displays a screen to edit an existing record
;[[Export]]: Opens a CSV export screen where the user can set options and generate a CSV file
;[[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
;[[Feedback]]: Displays a feedback message; used by other actions to display a success or failure message

Revision as of 20:29, 7 January 2010

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 an existing 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)