Jump to content

ATK Action Handlers: Difference between revisions

From NusaATK
Guri (talk | contribs)
m Added 'existing' record for Edit action
Guri (talk | contribs)
m Added 'existing' record for update action
Line 16: Line 16:
;[[Select]]: Displays a list of records with a select icon, useful to select a record for further processing
;[[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
;[[Smartsearch]]: Opens an AJAX based extended search form
;[[Update]]: Updated a record in the database
;[[Update]]: Updates an existing record in the database
;[[View]]: Displays a read-only page with a record
;[[View]]: Displays a read-only page with a record
;[[XML]]: Exports a record to XML format
;[[XML]]: Exports a record to XML format

Revision as of 20:44, 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
Updates an existing 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)