-
Notifications
You must be signed in to change notification settings - Fork 8
HowToAction
iraichi edited this page Apr 24, 2015
·
9 revisions
Please refer here for general informations about Views and Action Controllers.
if you want to add one or more action buttons to a View toolbar, you have to implement a ToolController in MainTable/Controller/ToolViews node and set the specific parametrers for the tool.
Example from HelloKitto: two buttons added to export data in Text and CSV format
# view dolls.yalm
Type: Data
.....
MainTable:
Model: Doll
Fields:
.....
Controller:
.....
ToolViews:
DownloadText:
DisplayLabel: _(Download in TXT)
Controller: ExportTextTool
RequireSelection: False
IncludeHeader: False
ClientFileName: DollList.txt
DownloadCSV:
DisplayLabel: _(Download in CSV)
ImageName: download
Controller: ExportCSVTool
RequireSelection: False
- Kitto at a glance
- Getting started
- Setup
-
Basic concepts
- Basic Materials
- Controllers
- Panel-Based
- [List] (List)
- [Form] (Form)
- [GridPanel] (GridPanel)
- [ChartPanel] (ChartPanel)
- [Tool Controllers] (Tool)
- [Login] (Login)
- [Logout] (Logout)
- [ChangePassword] (ChangePassword)
- Features
- Examples
- Developer's guide
- Library reference
- Frequently Asked Questions
- Kitto tips & tricks and how-tos
- Other information
- Kitto Enterprise