-
Notifications
You must be signed in to change notification settings - Fork 8
HowToViewApplicationStart
iraichi edited this page Apr 24, 2015
·
6 revisions
if you want that an application starts with a View or a Form already opened, you have to customize your homeView
For example HelloKitto starts with Girls and Dolls views opened:
# view home.yalm
CenterView:
Controller: TabPanel
Border: True
SubViews:
View: Girls
View: DollsThe code is similar to the view case, but you have to guarantee that the form can open: you have to use filters on model in order to obtain just one record .
Example from a real project:
ModelName: Employee
....
DefaultFilter: {Q}AD_USER_NAME = '%Auth:USER_NAME%'# view home.yalm
CenterView:
Controller: TabPanel
Border: True
SubViews:
View: EmployeeForm# view EmployeeForm.yalm
Type: Data
DisplayLabel: Personal Data
Controller: Form
Operation: Edit
MainTable:
Model: Employee
Controller:
PopupWindow:
Width: 800
Height: 640
Form:
Layout: Employee_Form- 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