DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
Edit and Insert forms
The table below show parameters for customizing Edit and Insert forms.
State of the webpage |
Page Part |
Default template |
Parameters |
Edit form |
editors area |
forms/form.tpl |
PagePart::VerticalGrid PageMode::FormEdit
|
separate page form |
forms/page_form.tpl |
PagePart::VerticalGrid PageMode::Edit |
|
modal dialog |
forms/modal_form.tpl |
PagePart::VerticalGrid PageMode::ModalEdit |
|
inline form |
forms/inline_form.tpl |
PagePart::VerticalGrid PageMode::InlineEdit |
|
Insert form |
editors area |
forms/form.tpl |
PagePart::VerticalGrid PageMode::FormInsert
|
separate page form |
forms/page_form.tpl |
PagePart::VerticalGrid PageMode::Insert |
|
modal dialog |
forms/modal_form.tpl |
PagePart::VerticalGrid PageMode::ModalInsert |
|
inline form |
forms/inline_form.tpl |
PagePart::VerticalGrid PageMode::InlineInsert |
You can customize the whole form or only the area containing the controls. The picture below shows the difference between these concepts.
Examples
Examples for all page modes (Separate Page, Modal Dialog, and Inline Form) can be found in the Feature Demo application. Additionally the demo contains an example of a wizard form. Each example contains links that allow you to view the complete code of overwritten templates as well as the code of the event handler. You can also download the demo project file for a deeper investigation.
Prev | Return to chapter overview | Next |