Jump to content

ATK Action Handlers: Difference between revisions

From NusaATK
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ATK natively supports the following actions:
ATK natively supports the following actions/handlers:


;[[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
Line 7: 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
Line 15: 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
Line 21: Line 22:


Actions can be captured using [[Listeners|Action Listeners]].
Actions can be captured using [[Listeners|Action Listeners]].
Making your own actions (atkRegisterNodeHandler, [[Custom (record) actions]])

Latest revision as of 10:44, 12 February 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)